import * as justaosUtils from "https://deno.land/x/justaos_utils@v1.9.0/packages/logger-utils/deps.ts";
Namespaces
N log | Logging library with the support for terminal and file outputs. Also provides interfaces for building custom loggers. |
Classes
This is the default logger. It will output color coded log messages to the
console via | |
This handler will output to a file using an optional mode (default is | |
An object that encapsulates provided message and arguments as well some metadata that can be later used when formatting a message. | |
This handler extends the functionality of the | |
Variables
Handlers are responsible for actual output of log messages. When a handler is
called by a logger, it firstly checks that | |
Permitted log level names | |
Use this to retrieve the numeric log level by it's associated name. Defaults to INFO. |
Functions
Get a logger instance. If not specified | |
Log with critical level, using default logger. | |
Log with debug level, using default logger. | |
Log with error level, using default logger. | |
Returns the numeric log level associated with the passed, stringy log level name. | |
Returns the stringy log level name provided the numeric log level. | |
Get a logger instance. If not specified | |
Log with info level, using default logger. | |
Setup logger config. | |
Log with warning level, using default logger. | |
Type Aliases
Union of valid log level names | |
Union of valid log levels | |