|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.common.Debug.PrivateLogger
private static class Debug.PrivateLogger
Field Summary | |
---|---|
(package private) int |
level
|
(package private) java.io.PrintStream |
out
|
Fields inherited from interface org.objectweb.util.monolog.api.Handler |
---|
APPEND_MODE_ATTRIBUTE, BUFFER_ATTRIBUTE, CONSOLE_HANDLER_TYPE, FILE_HANDLER_TYPE, FILE_NUMBER_ATTRIBUTE, GENERIC_HANDLER_TYPE, JMX_HANDLER_TYPE, LEVEL_ATTRIBUTE, LOGGER_HANDLER_TYPE, MAX_SIZE_ATTRIBUTE, OUTPUT_ATTRIBUTE, PATTERN_ATTRIBUTE, ROLLING_FILE_HANDLER_TYPE |
Constructor Summary | |
---|---|
Debug.PrivateLogger()
|
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
It retrieves the value of an attribute value of the handler. |
java.lang.String[] |
getAttributeNames()
It retrieves the attributes of the handler |
int |
getCurrentIntLevel()
Gets the CurrentIntLevel attribute of the LoggerImpl object |
org.objectweb.util.monolog.api.Level |
getCurrentLevel()
Gets the CurrentLevel attribute of the LoggerImpl object |
java.lang.String |
getName()
It retrieves the name of the handler |
java.lang.String |
getType()
It retrieves the Handler type |
boolean |
isLoggable(int level)
Gets the Loggable attribute of the LoggerImpl object |
boolean |
isLoggable(org.objectweb.util.monolog.api.Level l)
Gets the Loggable attribute of the LoggerImpl object |
boolean |
isOn()
Gets the On attribute of the LoggerImpl object |
void |
log(int level,
java.lang.Object o)
Log a message, with no arguments. |
void |
log(int level,
java.lang.Object o,
java.lang.Object location,
java.lang.Object method)
Log a message, with a location and method arguments. |
void |
log(int level,
java.lang.Object o,
java.lang.Throwable t)
Log a message, with a throwable arguments which can represent an error or a context.. |
void |
log(int level,
java.lang.Object o,
java.lang.Throwable t,
java.lang.Object location,
java.lang.Object method)
Log a message, with a location, method and throwable arguments. |
void |
log(org.objectweb.util.monolog.api.Level l,
java.lang.Object o)
Log a message, with no arguments. |
void |
log(org.objectweb.util.monolog.api.Level l,
java.lang.Object o,
java.lang.Object location,
java.lang.Object method)
Log a message, with a location and method arguments. |
void |
log(org.objectweb.util.monolog.api.Level l,
java.lang.Object o,
java.lang.Throwable t)
Log a message, with a throwable arguments which can represent an error or a context.. |
void |
log(org.objectweb.util.monolog.api.Level l,
java.lang.Object o,
java.lang.Throwable t,
java.lang.Object location,
java.lang.Object method)
Log a message, with a location, method and throwable arguments. |
java.lang.Object |
setAttribute(java.lang.String name,
java.lang.Object value)
It assigns an attributte to the handler. |
void |
setIntLevel(int l)
Sets the IntLevel attribute of the LoggerImpl object |
void |
setLevel(org.objectweb.util.monolog.api.Level l)
Sets the Level attribute of the LoggerImpl object |
void |
setName(java.lang.String name)
It assigns the name of the handler |
java.lang.String |
toString()
|
void |
turnOff()
Disables this logger |
void |
turnOn()
Enables this logger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
int level
java.io.PrintStream out
Constructor Detail |
---|
Debug.PrivateLogger()
Method Detail |
---|
public java.lang.String getName()
getName
in interface org.objectweb.util.monolog.api.Handler
public void setName(java.lang.String name)
setName
in interface org.objectweb.util.monolog.api.Handler
public java.lang.String getType()
getType
in interface org.objectweb.util.monolog.api.Handler
public java.lang.String[] getAttributeNames()
getAttributeNames
in interface org.objectweb.util.monolog.api.Handler
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface org.objectweb.util.monolog.api.Handler
key
- is an attribute namepublic java.lang.Object setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface org.objectweb.util.monolog.api.Handler
key
- is the attribute namevalue
- is the attribute value
public void setIntLevel(int l)
setIntLevel
in interface org.objectweb.util.monolog.api.Logger
l
- The new IntLevel valuepublic void setLevel(org.objectweb.util.monolog.api.Level l)
setLevel
in interface org.objectweb.util.monolog.api.Logger
l
- The new Level valuepublic int getCurrentIntLevel()
getCurrentIntLevel
in interface org.objectweb.util.monolog.api.Logger
public org.objectweb.util.monolog.api.Level getCurrentLevel()
getCurrentLevel
in interface org.objectweb.util.monolog.api.Logger
public boolean isLoggable(int level)
isLoggable
in interface org.objectweb.util.monolog.api.Logger
l
- Description of Parameter
public boolean isLoggable(org.objectweb.util.monolog.api.Level l)
isLoggable
in interface org.objectweb.util.monolog.api.Logger
l
- Description of Parameter
public boolean isOn()
isOn
in interface org.objectweb.util.monolog.api.Logger
public void log(int level, java.lang.Object o)
log
in interface org.objectweb.util.monolog.api.Logger
public void log(org.objectweb.util.monolog.api.Level l, java.lang.Object o)
log
in interface org.objectweb.util.monolog.api.Logger
public void log(int level, java.lang.Object o, java.lang.Throwable t)
log
in interface org.objectweb.util.monolog.api.Logger
public void log(org.objectweb.util.monolog.api.Level l, java.lang.Object o, java.lang.Throwable t)
log
in interface org.objectweb.util.monolog.api.Logger
public void log(int level, java.lang.Object o, java.lang.Object location, java.lang.Object method)
log
in interface org.objectweb.util.monolog.api.Logger
public void log(org.objectweb.util.monolog.api.Level l, java.lang.Object o, java.lang.Object location, java.lang.Object method)
log
in interface org.objectweb.util.monolog.api.Logger
public void log(int level, java.lang.Object o, java.lang.Throwable t, java.lang.Object location, java.lang.Object method)
log
in interface org.objectweb.util.monolog.api.Logger
public void log(org.objectweb.util.monolog.api.Level l, java.lang.Object o, java.lang.Throwable t, java.lang.Object location, java.lang.Object method)
log
in interface org.objectweb.util.monolog.api.Logger
public void turnOn()
turnOn
in interface org.objectweb.util.monolog.api.Logger
public void turnOff()
turnOff
in interface org.objectweb.util.monolog.api.Logger
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |