- 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
public static function addEventListener(event:APIEvent, listener:Function):void
- Parameters
- event:APIEvent
- listener:Function
logError
public static function logError(messages:restParam):void
Logs an error to the API output window.
- Parameters
- messages:restParam
- messages
logInternal
public static function logInternal(messages:restParam):void
- Parameters
- messages:restParam
logMessage
public static function logMessage(messages:restParam):void
Logs a message to the API output window.
- Parameters
- messages:restParam
- messages
logWarning
public static function logWarning(messages:restParam):void
Logs a warning to the API output window.
- Parameters
- messages:restParam
- messages