first commit
This commit is contained in:
14
node_modules/@oclif/core/lib/logger.d.ts
generated
vendored
Normal file
14
node_modules/@oclif/core/lib/logger.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { LoadOptions } from './interfaces/config';
|
||||
import { Logger } from './interfaces/logger';
|
||||
/**
|
||||
* Returns a logger instance for the given namespace.
|
||||
* If a namespace is provided, a child logger is returned.
|
||||
* If no namespace is provided, the root logger is returned.
|
||||
*/
|
||||
export declare function getLogger(namespace?: string): Logger;
|
||||
/**
|
||||
* Convenience function to create a debug function for a specific namespace
|
||||
*/
|
||||
export declare function makeDebug(namespace: string): Logger['debug'];
|
||||
export declare function setLogger(loadOptions: LoadOptions): void;
|
||||
export declare function clearLoggers(): void;
|
||||
Reference in New Issue
Block a user