net.sf.logdistiller
Class LogTypes
java.lang.Object
net.sf.logdistiller.LogTypes
- Direct Known Subclasses:
- BaseLogTypes
public abstract class LogTypes
- extends Object
Definition of available log types. By default, some log types come predefined
with LogDistiller. You can add custom log types:
- 1. create a new
LogEvent
class, with corresponding LogEvent.Factory
and
LogType
- 2. create a new
LogTypes
class defining previous LogType
with a default constructor
- 3. create a
logdistiller.properties
resource file which logtypes
property is the full
LogTypes
class name
- See Also:
LogType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL
public static final List ALL
MAP
public static final Map MAP
LogTypes
public LogTypes()
defineLogTypes
public abstract List defineLogTypes()
- get the
LogType
instances defined by this extension.
- Returns:
- the list of logtypes
- See Also:
LogType
getAllLogTypes
public static List getAllLogTypes()
- get all the log types defined (predefined and custom).
listAllLogTypeIds
public static String listAllLogTypeIds()
getLogType
public static LogType getLogType(String id)
Copyright © 2004-2009. All Rights Reserved.