export interface ILoggerBundleConfig { /**
     * Should we print on the console the events that are logged?
     */ console ? : boolean ; } export interface ILog < TContext = any > { message : string ; level : LogLevel ; context : TContext ; } export interface ILogger { info ( message , context ) : Promise < void > ; warning ( message , context ) : Promise < void > ; error ( message , context ) : Promise < void > ; critical ( message , context ) : Promise < void > ; } export enum LogLevel { CRITICAL = "critical" , ERROR = "error" , WARNING = "warning" , INFO = "info" }