@hashgraphonline/hedera-agent-kit
Version:
Build LLM-powered applications that interact with the Hedera Network. Create conversational agents that can understand user requests in natural language and execute Hedera transactions, or build backend systems that leverage AI for on-chain operations.
24 lines (23 loc) • 898 B
TypeScript
/**
* @description Defines a simple Logger interface for the HederaAgentKit.
*/
export interface Logger {
debug(message: string, ...optionalParams: any[]): void;
info(message: string, ...optionalParams: any[]): void;
warn(message: string, ...optionalParams: any[]): void;
error(message: string, ...optionalParams: any[]): void;
}
/**
* @description A basic console logger implementation.
*/
export declare class ConsoleLogger implements Logger {
private static instance;
private readonly prefix;
private constructor();
static getInstance(prefix?: string): ConsoleLogger;
debug(message: string, ...optionalParams: any[]): void;
info(message: string, ...optionalParams: any[]): void;
warn(message: string, ...optionalParams: any[]): void;
error(message: string, ...optionalParams: any[]): void;
}
export declare const defaultLogger: ConsoleLogger;