Interface Log
interface Log {
name: string;
attachTransport(
transportLogger: (logObj: ILogObj & ILogObjMeta) => void,
): void;
debug(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
error(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
fatal(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
info(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
silly(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
trace(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
warn(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
}
name: string;
attachTransport(
transportLogger: (logObj: ILogObj & ILogObjMeta) => void,
): void;
debug(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
error(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
fatal(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
info(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
silly(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
trace(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
warn(...args: unknown[]): undefined | ILogObj & ILogObjMeta;
}
Hierarchy
- Logger<ILogObj>
- Log
Interface for logging functionality