/** * @module common/logging */ import { LogLevel } from './log-level'; import { LogProvider } from './log-provider'; /** * A static singleton class used to expose the logging mechanism. * * Logging is provided through the use of a logging chain. When `log` * is called, the logger iterates over each logger in the chain calling * `log` on each individual logger. */ export declare class Logger { static loggers: LogProvider[]; /** * Adds a new logger to the end of the logging chain. */ static addLogger(logger: LogProvider): void; /** * Clears the logging chain. */ static resetLoggers(): void; /** * Logs a message using each logger in the chain. * @param sender The sender of the message. * @param message The message. * @param level The level of the message. */ static log(sender: string, message: string, level?: LogLevel): void; }