public class JPARSLogger extends Object
SessionLog.JPARS category.| Constructor and Description |
|---|
JPARSLogger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
entering(SessionLog sessionLog,
String sourceClass,
String sourceMethod,
InputStream in)
Entering
|
static void |
entering(SessionLog sessionLog,
String sourceClass,
String sourceMethod,
Object[] params)
Entering
|
static void |
entering(String sourceClass,
String sourceMethod,
InputStream in)
Entering
|
static void |
entering(String sourceClass,
String sourceMethod,
Object[] params)
Entering
|
static void |
error(SessionLog sessionLog,
String message,
Object[] params)
Error
|
static void |
error(String message,
Object[] params)
Error
|
static void |
exception(SessionLog sessionLog,
String message,
Object[] params,
Throwable exc)
Exception
|
static void |
exception(String message,
Object[] params,
Throwable exc)
Exception
|
static void |
exiting(SessionLog sessionLog,
String sourceClass,
String sourceMethod,
Object[] params)
Exiting
|
static void |
exiting(SessionLog sessionLog,
String sourceClass,
String sourceMethod,
PersistenceContext context,
Object object,
jakarta.ws.rs.core.MediaType mediaType)
Exiting
|
static void |
exiting(String sourceClass,
String sourceMethod,
Object[] params)
Exiting
|
static void |
exiting(String sourceClass,
String sourceMethod,
PersistenceContext context,
Object object,
jakarta.ws.rs.core.MediaType mediaType)
Exiting
|
static void |
fine(SessionLog sessionLog,
String message,
Object[] params)
Fine
|
static void |
fine(String message,
Object[] params)
Fine
|
static void |
finest(SessionLog sessionLog,
String message,
Object[] params)
Finest
|
static void |
finest(String message,
Object[] params)
Finest
|
static boolean |
isLoggableFinest() |
static boolean |
isLoggableFinest(SessionLog sessionLog) |
static void |
setLogLevel(Level level)
Sets the log level
|
static void |
setLogLevel(SessionLog sessionLog,
int level)
Sets the log level
|
static void |
warning(SessionLog sessionLog,
String message,
Object[] params)
Warning
|
static void |
warning(String message,
Object[] params)
Warning
|
public static void entering(String sourceClass, String sourceMethod, Object[] params)
sourceClass - the source classsourceMethod - the source methodparams - parameterspublic static void entering(SessionLog sessionLog, String sourceClass, String sourceMethod, Object[] params)
sessionLog - the logsourceClass - the source classsourceMethod - the source methodparams - parameterspublic static void entering(String sourceClass, String sourceMethod, InputStream in)
sourceClass - the source classsourceMethod - the source methodin - the input streampublic static void entering(SessionLog sessionLog, String sourceClass, String sourceMethod, InputStream in)
sessionLog - log receiving the messagesourceClass - the source classsourceMethod - the source methodin - the input streampublic static void exiting(String sourceClass, String sourceMethod, Object[] params)
sourceClass - the source classsourceMethod - the source methodparams - parameterspublic static void exiting(SessionLog sessionLog, String sourceClass, String sourceMethod, Object[] params)
sessionLog - the logsourceClass - the source classsourceMethod - the source methodparams - parameterspublic static void exiting(String sourceClass, String sourceMethod, PersistenceContext context, Object object, jakarta.ws.rs.core.MediaType mediaType)
sourceClass - the source classsourceMethod - the source methodcontext - the contextobject - the objectmediaType - the media typepublic static void exiting(SessionLog sessionLog, String sourceClass, String sourceMethod, PersistenceContext context, Object object, jakarta.ws.rs.core.MediaType mediaType)
sessionLog - the logsourceClass - the source classsourceMethod - the source methodcontext - the contextobject - the objectmediaType - the media typepublic static void finest(String message, Object[] params)
message - the messageparams - parameterspublic static void finest(SessionLog sessionLog, String message, Object[] params)
sessionLog - the logmessage - the messageparams - parameterspublic static void fine(String message, Object[] params)
message - the messageparams - parameterspublic static void fine(SessionLog sessionLog, String message, Object[] params)
sessionLog - the logmessage - the messageparams - parameterspublic static void warning(String message, Object[] params)
message - the messageparams - parameterspublic static void warning(SessionLog sessionLog, String message, Object[] params)
sessionLog - the logmessage - the messageparams - parameterspublic static void error(String message, Object[] params)
message - the messageparams - parameterspublic static void error(SessionLog sessionLog, String message, Object[] params)
sessionLog - the logmessage - the messageparams - parameterspublic static void exception(String message, Object[] params, Throwable exc)
message - the messageparams - parametersexc - the throwablepublic static void exception(SessionLog sessionLog, String message, Object[] params, Throwable exc)
sessionLog - the logmessage - the messageparams - parametersexc - the throwablepublic static void setLogLevel(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.FINESTpublic static boolean isLoggableFinest(SessionLog sessionLog)
sessionLog - the logSessionLog.FINESTCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.