How To
Documentation
    Learn More

      $lightningLog

      Description

      Twigkit factory for logging.

      Methods

      • debug(file, message)

        Method to debug

        Parameters
        ParamTypeDetails
        filestring

        The file the message is coming from

        messagestring

        The message to be displayed

        Example

        $lightningLog.debug(instance,message);

      • error(file, message)

        Method to return error message

        Parameters
        ParamTypeDetails
        filestring

        The file the message is coming from

        messagestring

        The message to be displayed

        Example

        $lightningLog.error(instance,message);

      • warn(file, message)

        Method to return warn message

        Parameters
        ParamTypeDetails
        filestring

        The file the message is coming from

        messagestring

        The message to be displayed

        Example

        $lightningLog.warn(instance,message);