| Modifier and Type | Field and Description |
|---|---|
(package private) int |
level |
(package private) PrintStream |
out |
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 and Description |
|---|
PrivateLogger() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
It retrieves the value of an attribute value of the handler.
|
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
|
String |
getName()
It retrieves the name of the handler
|
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,
Object o)
Log a message, with no arguments.
|
void |
log(int level,
Object o,
Object location,
Object method)
Log a message, with a location and method arguments.
|
void |
log(int level,
Object o,
Throwable t)
Log a message, with a throwable arguments which can represent an
error or a context..
|
void |
log(int level,
Object o,
Throwable t,
Object location,
Object method)
Log a message, with a location, method and throwable arguments.
|
void |
log(org.objectweb.util.monolog.api.Level l,
Object o)
Log a message, with no arguments.
|
void |
log(org.objectweb.util.monolog.api.Level l,
Object o,
Object location,
Object method)
Log a message, with a location and method arguments.
|
void |
log(org.objectweb.util.monolog.api.Level l,
Object o,
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,
Object o,
Throwable t,
Object location,
Object method)
Log a message, with a location, method and throwable arguments.
|
Object |
setAttribute(String name,
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(String name)
It assigns the name of the handler
|
String |
toString() |
void |
turnOff()
Disables this logger
|
void |
turnOn()
Enables this logger
|
int level
PrintStream out
public String getName()
getName in interface org.objectweb.util.monolog.api.Handlerpublic void setName(String name)
setName in interface org.objectweb.util.monolog.api.Handlerpublic String getType()
getType in interface org.objectweb.util.monolog.api.Handlerpublic String[] getAttributeNames()
getAttributeNames in interface org.objectweb.util.monolog.api.Handlerpublic Object getAttribute(String name)
getAttribute in interface org.objectweb.util.monolog.api.Handlername - is an attribute namepublic Object setAttribute(String name, Object value)
setAttribute in interface org.objectweb.util.monolog.api.Handlername - is the attribute namevalue - is the attribute valuepublic void setIntLevel(int l)
setIntLevel in interface org.objectweb.util.monolog.api.Loggerl - The new IntLevel valuepublic void setLevel(org.objectweb.util.monolog.api.Level l)
setLevel in interface org.objectweb.util.monolog.api.Loggerl - The new Level valuepublic int getCurrentIntLevel()
getCurrentIntLevel in interface org.objectweb.util.monolog.api.Loggerpublic org.objectweb.util.monolog.api.Level getCurrentLevel()
getCurrentLevel in interface org.objectweb.util.monolog.api.Loggerpublic boolean isLoggable(int level)
isLoggable in interface org.objectweb.util.monolog.api.Loggerlevel - Description of Parameterpublic boolean isLoggable(org.objectweb.util.monolog.api.Level l)
isLoggable in interface org.objectweb.util.monolog.api.Loggerl - Description of Parameterpublic boolean isOn()
isOn in interface org.objectweb.util.monolog.api.Loggerpublic void log(int level,
Object o)
log in interface org.objectweb.util.monolog.api.Loggerpublic void log(org.objectweb.util.monolog.api.Level l,
Object o)
log in interface org.objectweb.util.monolog.api.Loggerpublic void log(int level,
Object o,
Throwable t)
log in interface org.objectweb.util.monolog.api.Loggerpublic void log(org.objectweb.util.monolog.api.Level l,
Object o,
Throwable t)
log in interface org.objectweb.util.monolog.api.Loggerpublic void log(int level,
Object o,
Object location,
Object method)
log in interface org.objectweb.util.monolog.api.Loggerpublic void log(org.objectweb.util.monolog.api.Level l,
Object o,
Object location,
Object method)
log in interface org.objectweb.util.monolog.api.Loggerpublic void log(int level,
Object o,
Throwable t,
Object location,
Object method)
log in interface org.objectweb.util.monolog.api.Loggerpublic void log(org.objectweb.util.monolog.api.Level l,
Object o,
Throwable t,
Object location,
Object method)
log in interface org.objectweb.util.monolog.api.Loggerpublic void turnOn()
turnOn in interface org.objectweb.util.monolog.api.Loggerpublic void turnOff()
turnOff in interface org.objectweb.util.monolog.api.LoggerCopyright © 2021 ScalAgent D.T.. All rights reserved.