@pathmaker-digital/pmd-utilities - v2.2.6
    Preparing search index...

    Function log

    • Logs a message to the console with a specific type and color.

      Type Parameters

      • T

      Parameters

      • message: T

        The message to log.

      • template: LogTemplate = "info"

        The template of the log (info, warn, error, success, custom). Defaults to "info".

      • type: LogType = "log"

        The type of log (log, warn, error). Defaults to "log".

      • color: LogColor = "white"

        The color of the message (red, blue, green, yellow, white). Defaults to "white".

      • bgColor: LogBackgroundColor = "bgBlack"

        The background color of the message (bgRed, bgBlue, bgGreen, etc.). Defaults to "bgBlack".

      Returns void