import { LOGGING_PROVIDER } from "./constants.ts" ; import { Injectable } from "./deps.ts" ; import { LoggingProvider } from "./logging-provider.ts" ; @ Injectable ( LOGGING_PROVIDER ) export class ConsoleLoggingProvider implements LoggingProvider { info ( data ) { console . info ( ... data ) ; } log ( data ) { console . log ( ... data ) ; } warn ( data ) { console . warn ( ... data ) ; } error ( data ) { console . error ( ... data ) ; } }