|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.log.Log
public class Log
| Method Summary | |
|---|---|
static void |
addTarget(Target target)
Adds a target to the log. |
static Log |
createLog()
Creates the log on first access, returns already created log on subsequent calls. |
static Logger |
getLogger(String category)
Given a category, returns the logger associated with the category. |
static List |
getTargets()
Returns an unmodifiable snapshot of the targets registered with this Log when the method is invoked. |
static void |
initialize(String id,
ConfigMap properties)
Initializes Log with id and properties. |
static boolean |
isDebug()
Indicates whether a debug level log event will be processed by a log target. |
static boolean |
isError()
Indicates whether an error level log event will be processed by a log target. |
static boolean |
isFatal()
Indicates whether a fatal level log event will be processed by a log target. |
static boolean |
isInfo()
Indicates whether an info level log event will be processed by a log target. |
static boolean |
isWarn()
Indicates whether a warn level log event will be processed by a log target. |
static void |
removeTarget(Target target)
Removes a target from the log. |
static void |
reset()
This method removes all of the current loggers and targets from the cache. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Log createLog()
public static void initialize(String id,
ConfigMap properties)
id - Id for the Log which is ignored.properties - ConfigMap of properties for the Log.public static boolean isFatal()
public static boolean isError()
public static boolean isWarn()
public static boolean isInfo()
public static boolean isDebug()
public static Logger getLogger(String category)
category - Categogry for the logger.
public static List getTargets()
public static void addTarget(Target target)
target - Target to be added.public static void removeTarget(Target target)
target - The target to be removed.public static void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/log/Log.html