Class LoggerAbstract

A logger accepts messages from different levels and emits them in a certain way.

Hierarchy

  • Logger

    Constructors

    Properties

    LEVELS: Record<string, number> = ...

    All available logging levels.

    Methods

    • Convert a string-based logging level to a numerical logging level.

      Parameters

      • level: string

        A string-based logging level

      Returns number

      The numerical logging level, or undefined.