Browse Sections


Newgrounds Wiki: Logger

  • Package: com.newgrounds
  • Class: Logger
Logger provides global trace and debug messaging. Any messages sent to Logger will appear in the testing area on your API settings page.

Methods

These are the methods of Logger.

addEventListener

Return to Top ^
public static function addEventListener(event:APIEvent, listener:Function):void




logError

Return to Top ^
public static function logError(messages:restParam):void


Logs an error to the API output window.

  • Parameters
    • messages:restParam
      messages

logInternal

Return to Top ^
public static function logInternal(messages:restParam):void


  • Parameters
    • messages:restParam

logMessage

Return to Top ^
public static function logMessage(messages:restParam):void


Logs a message to the API output window.

  • Parameters
    • messages:restParam
      messages

logWarning

Return to Top ^
public static function logWarning(messages:restParam):void


Logs a warning to the API output window.

  • Parameters
    • messages:restParam
      messages