|
||||||||||
| 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 boolean |
checkFilterToCategory(String filter,
String category)
|
static void |
clear()
Clean up static member variables. |
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. |
String[] |
getLoggers()
|
static Target |
getTarget(String searchId)
Returns the target associated with the unique ID searchId. |
static Map |
getTargetMap()
|
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 |
isExcludedProperty(String property)
Indicates whether a log property should be excluded. |
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, though is used by the ManageableComponent superclassproperties - 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 boolean isExcludedProperty(String property)
public static Logger getLogger(String category)
category - Categogry for the logger.
public static List getTargets()
public static Map getTargetMap()
public static Target getTarget(String searchId)
public String[] getLoggers()
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()
public static boolean checkFilterToCategory(String filter,
String category)
filter - The filter string to check against a specific categorycategory - The category which the filter could match
public static void clear()
|
||||||||||
| 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/blazeds/1/javadoc/flex/messaging/log/Log.html