The
Logger
interface is the Flex compiler logging mechanism for OEM applications. You implement this interface and provide an instance of the implementation to the
Application.setLogger()
and/or
Library.setLogger()
methods.
The Flex compiler API exposes warnings and errors as Message
objects. You can use the Message.getClass().getName()
method to differentiate between message types programmatically.
The compiler utilizes some third-party libraries that use error-code-based logging systems. As a result, the log()
method also supports error codes.
@version 2.0.1
@author Clement Wong