Configures logging and returns a Logger for the given category name.
Records at or above lowestLevel are written to the console using an ANSI
color formatter with RFC 3339 timestamps. The internal logtape/meta logger
is silenced.
Logging is configured with reset: true, so this function is safe to call
more than once: each call reconfigures logtape from scratch and the most
recent call wins. (Without it, logtape throws because logging is already
configured.)
Parameters
name: string
The top-level category name (typically the application name).
Configures logging and returns a Logger for the given category name.
Records at or above
lowestLevelare written to the console using an ANSI color formatter with RFC 3339 timestamps. The internallogtape/metalogger is silenced.Logging is configured with
reset: true, so this function is safe to call more than once: each call reconfigures logtape from scratch and the most recent call wins. (Without it, logtape throws because logging is already configured.)