1 | import log from 'loglevel';
|
2 | interface LoggerInterface extends log.Logger {
|
3 | progress(...msg: string[]): void;
|
4 | }
|
5 | declare function getLogger(name: string): LoggerInterface;
|
6 | declare 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 | }
|
12 | export default getLogger;
|
13 | export type Logger = LoggerInterface;
|
14 |
|
\ | No newline at end of file |