reticulum-js
    Preparing search index...

    Function log

    • Emits a log message if level is at or below the active threshold.

      The default message level is LogLevel.DEBUG, so bare log("Mod", msg) calls stay quiet unless the operator raises the threshold to DEBUG (or higher). Call sites that should appear at the default NOTICE verbosity pass an explicit level.

      Parameters

      • module: string

        short tag identifying the emitting subsystem.

      • message: string

        the message body.

      • Optionallevel: number = LogLevel.DEBUG

        LogLevel of this message.

      Returns void