|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codeforamerica.open311.internals.logging.LogManager
public class LogManager
Manages all the login related operations. Singleton class.
Method Summary | |
---|---|
void |
activate(Object objectToBeLogged)
Activates the logging for a concrete wrapper. |
void |
disable(Object loggedObject)
Disables the logging for a concrete wrapper. |
static LogManager |
getInstance()
Returns the unique instance of the class. |
void |
logError(Object messageCreator,
String message)
Logs any problem. |
void |
logInfo(Object messageCreator,
String message)
Logs a non-critical event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LogManager getInstance()
public void activate(Object objectToBeLogged)
objectToBeLogged
- Object to be logged.public void disable(Object loggedObject)
loggedObject
- Object which logging will be disabled.public void logInfo(Object messageCreator, String message)
messageCreator
- origin of the message.message
- Event message.public void logError(Object messageCreator, String message)
messageCreator
- origin of the message.message
- Event message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |