/// /** * Function signature for log functions */ export interface LogFunction { (message: string | any, arg?: any | undefined | null): void; } /** * Internal representation of log data */ export interface LogData { level: LogLevel; timestamp: Date; message?: string; [s: string]: any; } /** * Log levels, note that both of them will always be logged. */ export declare const enum LogLevel { Info = "info", Error = "error" } /** * Options to construct a full logger */ export interface NewLoggerOpts { logDepth?: number; context?: any; stream?: NodeJS.WriteStream; isProduction?: boolean; }