Skip to content
Snippets Groups Projects
_logService.ts 653 B
Newer Older
  • Learn to ignore specific revisions
  • Hugo NOUTS's avatar
    Hugo NOUTS committed
    //import * as loglevelLogger from 'loglevel'
    /*
    interface Ilogger {
      config: any
      debug(message: string, ...data: any[]): void
      warn(message: string, ...data: any[]): void
      error(message: string, ...data: any[]): void
      info(message: string, ...data: any[]): void
    }
    
    export class Logger implements Ilogger {
      public debug(message: string, ...data: any[]): void {
        console.log('debug')
      }
      public warn(message: string, ...data: any[]): void {
        console.log('warn')
      }
      public error(message: string, ...data: any[]): void {
        console.log('error')
      }
      public info(message: string, ...data: any[]): void {
        console.log('info')
      }
    }
    */