@triviality/logger
Version:
Typescript loggers with an interface that support composition
13 lines (12 loc) • 609 B
TypeScript
import { Logger } from 'ts-log';
import { LoggerInterface } from './LoggerInterface';
import { AbstractFunctionLogger } from './AbstractFunctionLogger';
export declare class TsLogLogger extends AbstractFunctionLogger implements LoggerInterface {
private logger;
trace: (message?: any, ...optionalParams: any[]) => void;
debug: (message?: any, ...optionalParams: any[]) => void;
info: (message?: any, ...optionalParams: any[]) => void;
warn: (message?: any, ...optionalParams: any[]) => void;
error: (message?: any, ...optionalParams: any[]) => void;
constructor(logger: Logger);
}