mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-28 14:27:57 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
import type { Logger } from './types.js';
|
||||
export declare function loggerFormat(value: unknown): unknown;
|
||||
/**
|
||||
* @name Logger
|
||||
* @summary Creates a consistent log interface for messages
|
||||
* @description
|
||||
* Returns a `Logger` that has `.log`, `.error`, `.warn` and `.debug` (controlled with environment `DEBUG=typeA,typeB`) methods. Logging is done with a consistent prefix (type of logger, date) followed by the actual message using the underlying console.
|
||||
* @example
|
||||
* <BR>
|
||||
*
|
||||
* ```javascript
|
||||
* import { logger } from '@pezkuwi/util';
|
||||
*
|
||||
* const l = logger('test');
|
||||
* ```
|
||||
*/
|
||||
export declare function logger(origin: string): Logger;
|
||||
Reference in New Issue
Block a user