public class JPARSLogger
extends java.lang.Object
SessionLog.JPARS
category.Constructor and Description |
---|
JPARSLogger() |
Modifier and Type | Method and Description |
---|---|
static void |
entering(SessionLog sessionLog,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.io.InputStream in)
Entering
|
static void |
entering(SessionLog sessionLog,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object[] params)
Entering
|
static void |
entering(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.io.InputStream in)
Entering
|
static void |
entering(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object[] params)
Entering
|
static void |
error(SessionLog sessionLog,
java.lang.String message,
java.lang.Object[] params)
Error
|
static void |
error(java.lang.String message,
java.lang.Object[] params)
Error
|
static void |
exception(SessionLog sessionLog,
java.lang.String message,
java.lang.Object[] params,
java.lang.Throwable exc)
Exception
|
static void |
exception(java.lang.String message,
java.lang.Object[] params,
java.lang.Throwable exc)
Exception
|
static void |
exiting(SessionLog sessionLog,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object[] params)
Exiting
|
static void |
exiting(SessionLog sessionLog,
java.lang.String sourceClass,
java.lang.String sourceMethod,
PersistenceContext context,
java.lang.Object object,
javax.ws.rs.core.MediaType mediaType)
Exiting
|
static void |
exiting(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object[] params)
Exiting
|
static void |
exiting(java.lang.String sourceClass,
java.lang.String sourceMethod,
PersistenceContext context,
java.lang.Object object,
javax.ws.rs.core.MediaType mediaType)
Exiting
|
static void |
fine(SessionLog sessionLog,
java.lang.String message,
java.lang.Object[] params)
Fine
|
static void |
fine(java.lang.String message,
java.lang.Object[] params)
Fine
|
static void |
finest(SessionLog sessionLog,
java.lang.String message,
java.lang.Object[] params)
Finest
|
static void |
finest(java.lang.String message,
java.lang.Object[] params)
Finest
|
static boolean |
isLoggableFinest() |
static boolean |
isLoggableFinest(SessionLog sessionLog) |
static void |
setLogLevel(java.util.logging.Level level)
Sets the log level
|
static void |
setLogLevel(SessionLog sessionLog,
int level)
Sets the log level
|
static void |
warning(SessionLog sessionLog,
java.lang.String message,
java.lang.Object[] params)
Warning
|
static void |
warning(java.lang.String message,
java.lang.Object[] params)
Warning
|
public static void entering(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object[] params)
sourceClass
- the source classsourceMethod
- the source methodparams
- parameterspublic static void entering(SessionLog sessionLog, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object[] params)
sessionLog
- the logsourceClass
- the source classsourceMethod
- the source methodparams
- parameterspublic static void entering(java.lang.String sourceClass, java.lang.String sourceMethod, java.io.InputStream in)
sourceClass
- the source classsourceMethod
- the source methodin
- the input streampublic static void entering(SessionLog sessionLog, java.lang.String sourceClass, java.lang.String sourceMethod, java.io.InputStream in)
sessionLog
- log receiving the messagesourceClass
- the source classsourceMethod
- the source methodin
- the input streampublic static void exiting(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object[] params)
sourceClass
- the source classsourceMethod
- the source methodparams
- parameterspublic static void exiting(SessionLog sessionLog, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object[] params)
sessionLog
- the logsourceClass
- the source classsourceMethod
- the source methodparams
- parameterspublic static void exiting(java.lang.String sourceClass, java.lang.String sourceMethod, PersistenceContext context, java.lang.Object object, javax.ws.rs.core.MediaType mediaType)
sourceClass
- the source classsourceMethod
- the source methodcontext
- the contextobject
- the objectmediaType
- the media typepublic static void exiting(SessionLog sessionLog, java.lang.String sourceClass, java.lang.String sourceMethod, PersistenceContext context, java.lang.Object object, javax.ws.rs.core.MediaType mediaType)
sessionLog
- the logsourceClass
- the source classsourceMethod
- the source methodcontext
- the contextobject
- the objectmediaType
- the media typepublic static void finest(java.lang.String message, java.lang.Object[] params)
message
- the messageparams
- parameterspublic static void finest(SessionLog sessionLog, java.lang.String message, java.lang.Object[] params)
sessionLog
- the logmessage
- the messageparams
- parameterspublic static void fine(java.lang.String message, java.lang.Object[] params)
message
- the messageparams
- parameterspublic static void fine(SessionLog sessionLog, java.lang.String message, java.lang.Object[] params)
sessionLog
- the logmessage
- the messageparams
- parameterspublic static void warning(java.lang.String message, java.lang.Object[] params)
message
- the messageparams
- parameterspublic static void warning(SessionLog sessionLog, java.lang.String message, java.lang.Object[] params)
sessionLog
- the logmessage
- the messageparams
- parameterspublic static void error(java.lang.String message, java.lang.Object[] params)
message
- the messageparams
- parameterspublic static void error(SessionLog sessionLog, java.lang.String message, java.lang.Object[] params)
sessionLog
- the logmessage
- the messageparams
- parameterspublic static void exception(java.lang.String message, java.lang.Object[] params, java.lang.Throwable exc)
message
- the messageparams
- parametersexc
- the throwablepublic static void exception(SessionLog sessionLog, java.lang.String message, java.lang.Object[] params, java.lang.Throwable exc)
sessionLog
- the logmessage
- the messageparams
- parametersexc
- the throwablepublic static void setLogLevel(java.util.logging.Level level)
level
- the new log levelpublic static void setLogLevel(SessionLog sessionLog, int level)
sessionLog
- the loglevel
- the new log levelpublic static boolean isLoggableFinest()
SessionLog.FINEST
public static boolean isLoggableFinest(SessionLog sessionLog)
sessionLog
- the logSessionLog.FINEST