@hashgraphonline/standards-sdk
Version:
The Hashgraph Online Standards SDK provides a complete implementation of the Hashgraph Consensus Standards (HCS), giving developers all the tools needed to build applications on Hedera.
24 lines • 746 B
TypeScript
export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'silent';
export interface LoggerOptions {
level?: LogLevel;
module?: string;
prettyPrint?: boolean;
silent?: boolean;
}
export declare class Logger {
private static instances;
private logger;
private moduleContext;
constructor(options?: LoggerOptions);
static getInstance(options?: LoggerOptions): Logger;
setLogLevel(level: LogLevel): void;
getLevel(): LogLevel;
setSilent(silent: boolean): void;
setModule(module: string): void;
debug(...args: any[]): void;
info(...args: any[]): void;
warn(...args: any[]): void;
error(...args: any[]): void;
trace(...args: any[]): void;
}
//# sourceMappingURL=logger.d.ts.map