Logger.d.ts 299 B

12345678910
  1. import { ILogger } from './Interfaces';
  2. export declare class Logger implements ILogger {
  3. errors: Error[];
  4. name: string;
  5. private callback;
  6. constructor(name?: string, callback?: Function);
  7. log(err: Error): void;
  8. printOneError(e: Error): string;
  9. printAllErrors(): string;
  10. }