KC's Workspace
    Preparing search index...

    A logger that will not produce any output.

    This logger also serves as the base class of other loggers as it implements all the required utility functions.

    Index

    Constructors

    Properties

    errorCount: number

    How many error messages have been logged?

    level: LogLevel

    The minimum logging level to print.

    validationWarningCount: number

    How many validation warning messages have been logged?

    warningCount: number

    How many warning messages have been logged?

    Methods

    • Has an error been raised through the log method?

      Returns boolean

    • Has a warning been raised through the log method?

      Returns boolean

    • Log the given info message.

      Parameters

      • text: string

      Returns void

    • Print a log message.

      Parameters

      • _message: string

        The message itself.

      • level: LogLevel

        The urgency of the log message.

      Returns void

    • Reset the error counter.

      Returns void

    • Reset the warning counter.

      Returns void

    • Log the given warning and records that a validation warning has occurred.

      Parameters

      • text: string

        The warning that should be logged.

      • Optionalnode: MinimalNode

      Returns void

    • Log the given warning and records that a validation warning has occurred.

      Parameters

      Returns void

    • Log the given verbose message.

      Parameters

      • text: string

        The message that should be logged.

      Returns void