00:00
00:00
Newgrounds Background Image Theme

xrusteater0 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

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