Package fr.gouv.vitam.common.security
Class VitamLoggerLog
- java.lang.Object
-
- fr.gouv.vitam.common.security.VitamLoggerLog
-
- All Implemented Interfaces:
org.owasp.esapi.Logger
public class VitamLoggerLog extends java.lang.Object implements org.owasp.esapi.Logger
Dummy Implementation of Logger for ESAPI
-
-
Constructor Summary
Constructors Constructor Description VitamLoggerLog(java.lang.String name)
Empty constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
always(org.owasp.esapi.Logger.EventType type, java.lang.String message)
void
always(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
void
debug(org.owasp.esapi.Logger.EventType type, java.lang.String message)
void
debug(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
void
error(org.owasp.esapi.Logger.EventType type, java.lang.String message)
void
error(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
void
fatal(org.owasp.esapi.Logger.EventType type, java.lang.String message)
void
fatal(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
int
getESAPILevel()
void
info(org.owasp.esapi.Logger.EventType type, java.lang.String message)
void
info(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isFatalEnabled()
boolean
isInfoEnabled()
boolean
isTraceEnabled()
boolean
isWarningEnabled()
void
setLevel(int level)
void
trace(org.owasp.esapi.Logger.EventType type, java.lang.String message)
void
trace(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
void
warning(org.owasp.esapi.Logger.EventType type, java.lang.String message)
void
warning(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
-
-
-
Method Detail
-
setLevel
public void setLevel(int level)
- Specified by:
setLevel
in interfaceorg.owasp.esapi.Logger
-
getESAPILevel
public int getESAPILevel()
- Specified by:
getESAPILevel
in interfaceorg.owasp.esapi.Logger
-
fatal
public void fatal(org.owasp.esapi.Logger.EventType type, java.lang.String message)
- Specified by:
fatal
in interfaceorg.owasp.esapi.Logger
-
fatal
public void fatal(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
- Specified by:
fatal
in interfaceorg.owasp.esapi.Logger
-
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interfaceorg.owasp.esapi.Logger
-
error
public void error(org.owasp.esapi.Logger.EventType type, java.lang.String message)
- Specified by:
error
in interfaceorg.owasp.esapi.Logger
-
error
public void error(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
- Specified by:
error
in interfaceorg.owasp.esapi.Logger
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceorg.owasp.esapi.Logger
-
warning
public void warning(org.owasp.esapi.Logger.EventType type, java.lang.String message)
- Specified by:
warning
in interfaceorg.owasp.esapi.Logger
-
warning
public void warning(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
- Specified by:
warning
in interfaceorg.owasp.esapi.Logger
-
isWarningEnabled
public boolean isWarningEnabled()
- Specified by:
isWarningEnabled
in interfaceorg.owasp.esapi.Logger
-
info
public void info(org.owasp.esapi.Logger.EventType type, java.lang.String message)
- Specified by:
info
in interfaceorg.owasp.esapi.Logger
-
info
public void info(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
- Specified by:
info
in interfaceorg.owasp.esapi.Logger
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceorg.owasp.esapi.Logger
-
debug
public void debug(org.owasp.esapi.Logger.EventType type, java.lang.String message)
- Specified by:
debug
in interfaceorg.owasp.esapi.Logger
-
debug
public void debug(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
- Specified by:
debug
in interfaceorg.owasp.esapi.Logger
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceorg.owasp.esapi.Logger
-
trace
public void trace(org.owasp.esapi.Logger.EventType type, java.lang.String message)
- Specified by:
trace
in interfaceorg.owasp.esapi.Logger
-
trace
public void trace(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
- Specified by:
trace
in interfaceorg.owasp.esapi.Logger
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interfaceorg.owasp.esapi.Logger
-
always
public void always(org.owasp.esapi.Logger.EventType type, java.lang.String message)
- Specified by:
always
in interfaceorg.owasp.esapi.Logger
-
always
public void always(org.owasp.esapi.Logger.EventType type, java.lang.String message, java.lang.Throwable throwable)
- Specified by:
always
in interfaceorg.owasp.esapi.Logger
-
-