import * as mesozoic from "https://deno.land/x/mesozoic@v1.3.10/lib/deps.ts";
Namespaces
N log | Logging library with the support for terminal and file outputs. Also provides interfaces for building custom loggers. |
Classes
An object that encapsulates provided message and arguments as well some metadata that can be later used when formatting a message. |
Enums
Get log level numeric values through enum constants. Defaults to INFO. |
Variables
🖍️ Crayon object that's used for styling
| |
Wait for init to resolve before calling | |
v join | |
Handlers are responsible for actual output of log messages. When a handler is
called by a logger, it firstly checks that | |
v SEP | |
Functions
f copy | Copy a file or directory. The directory can have contents. Like |
Merges the two given Records, recursively merging any nested Records with the second collection overriding the first in case of conflict | |
Ensures that a directory is empty.
Deletes directory contents if the directory is not empty.
If the directory does not exist, it is created.
The directory itself is not deleted.
Requires the | |
Ensures that the directory exists.
If the directory structure does not exist, it is created. Like mkdir -p.
Requires the | |
Convert a glob string to a regular expression. | |
Log with critical level, using default logger. | |
Log with debug level, using default logger. | |
Log with error level, using default logger. | |
Get a logger instance. If not specified | |
Log with info level, using default logger. | |
Setup logger config. | |
Log with warning level, using default logger. | |
Outputs the list of exports and locations of import specifiers, including dynamic import and import meta handling. | |
Converts and format a variable number of | |
f walk | Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options. |
Type Aliases
Union of valid log level strings | |