UNPKG

563 BTypeScriptView Raw
1import log from 'loglevel';
2interface LoggerInterface extends log.Logger {
3 progress(...msg: any[]): void;
4}
5declare function getLogger(name: string): LoggerInterface;
6declare namespace getLogger {
7 var waitForBuffer: () => Promise<void>;
8 var setLevel: (name: string, level: log.LogLevelDesc) => void;
9 var clearLogger: () => void;
10 var setLogLevelsConfig: (logLevels?: Record<string, log.LogLevelDesc>, wdioLogLevel?: log.LogLevelDesc) => void;
11}
12export default getLogger;
13export type Logger = LoggerInterface;
14//# sourceMappingURL=index.d.ts.map
\No newline at end of file