00:00
00:00

Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

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

public static function addEventListener(event:APIEvent, listener:Function):void


  • Parameters
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