codemelted.js Module
    Preparing search index...

    Function logger_log

    • Logs an event with the module logger.

      Parameters

      • params: { data: any; level: object }

        The named parameters.

        • data: any

          The data to log with the event.

        • level: object

          The log level for the logged event.

      Returns void

      // When the logger is on and you want to log an event
      // It will only log if the log level is set to log those events.
      logger_log({level: Logger.Warning, data: "A thing happened"});