foundation-utils.createlogger
Home > @genesislcap/foundation-utils > createLogger
createLogger() function
Warning: This API is now obsolete.
- Use
createLoggerfrom@genesislcap/foundation-loggerinstead.
Creates a logger with the given name and options.
Signature:
export declare function createLogger(name: string, options?: LoggerOptions): Logger;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
string |
The name to give the logger. |
|
options |
(Optional) The options to use when creating the logger. |
Returns:
The resulting logger.