public class EmailLoggerService extends java.lang.Object implements Contexed, LoggerService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERSION_PROP_PREFIX |
SECURITY_LOG| Constructor and Description |
|---|
EmailLoggerService(AppContext conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
AppContext is being closed. |
protected void |
emailError(LogLevels level,
java.lang.Throwable e,
java.lang.String text) |
AppContext |
getContext() |
Logger |
getLogger(java.lang.Class c) |
Logger |
getLogger(java.lang.String name) |
protected java.util.Hashtable |
getProps() |
protected Logger |
getSelfLogger() |
java.lang.Class<? super LoggerService> |
getType()
Returns the type of service the class should be registered under.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialiseLogging, securityEvent, securityEvent, shutdownLoggingpublic static final java.lang.String VERSION_PROP_PREFIX
public EmailLoggerService(AppContext conn)
public Logger getLogger(java.lang.String name)
getLogger in interface LoggerServicepublic Logger getLogger(java.lang.Class c)
getLogger in interface LoggerServicepublic void cleanup()
AppContextCleanupAppContext is being closed.
Only use this for cleanup that can't be handled by
normal garbage collection or for state which is never returned by reference.cleanup in interface AppContextCleanuppublic AppContext getContext()
getContext in interface Contexedprotected java.util.Hashtable getProps()
protected void emailError(LogLevels level, java.lang.Throwable e, java.lang.String text)
protected Logger getSelfLogger()
public java.lang.Class<? super LoggerService> getType()
AppContextServicegetType in interface AppContextService<LoggerService>