@darthcav/ts-utils
    Preparing search index...

    Function getConsoleLogger

    • 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.

      Parameters

      • name: string

        The top-level category name (typically the application name).

      • lowestLevel: "trace" | "debug" | "info" | "warning" | "error" | "fatal" = "info"

        The minimum log level to output. Defaults to "info".

      Returns Promise<Logger>

      A promise resolving to a logger scoped to the given category.