public class CCLogger extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
config(String message)
Log a message related to configurations
|
void |
config(String sourceClass,
String sourceMethod,
String message)
Log a message related to configurations
|
void |
config(String message,
Throwable thrown)
Log a message related to configurations
|
void |
entering(String sourceMethod)
Logs a message indicating start of a function
|
void |
entering(String sourceClass,
String sourceMethod)
Log a method entry
|
void |
exiting(String sourceMethod)
Logs a message indicating return from a function
|
void |
exiting(String sourceClass,
String sourceMethod)
Log a method return
|
void |
fine(String message)
Log a detailed message
|
void |
fine(String message,
FList flist)
Log a detailed message along with
FList |
void |
fine(String sourceClass,
String sourceMethod,
String message)
Log a detailed message
|
void |
fine(String message,
Throwable thrown)
Log a detailed message
|
static CCLogger |
getCCLogger(Class className)
Static method to return the logger reference
|
Logger |
getLogger() |
void |
info(String message)
Log an informational message
|
void |
info(String sourceClass,
String sourceMethod,
String message)
Log an informational message
|
void |
info(String message,
Throwable thrown)
Log an informational message
|
void |
severe(String message)
Log a message to indicate serious failures
|
void |
severe(String sourceClass,
String sourceMethod,
String message)
Log a message to indicate serious failures
|
void |
severe(String sourceMethod,
String message,
Throwable thrown)
Logs a severe error with helpful message and stack trace from the given
function name
|
void |
severe(String message,
Throwable thrown)
Log a message to indicate serious failures
|
void |
warning(String message)
Log a message to indicate potential problems
|
void |
warning(String sourceClass,
String sourceMethod,
String message)
Log a message to indicate potential problems
|
void |
warning(String message,
Throwable thrown)
Log a message to indicate potential problems
|
public Logger getLogger()
public static CCLogger getCCLogger(Class className)
className - Name of the associated classpublic void config(String message)
message - The string messagepublic void config(String sourceClass, String sourceMethod, String message)
sourceClass - name of class that issued the logging requestsourceMethod - name of the methodmessage - The string messagepublic void config(String message, Throwable thrown)
message - The string messagethrown - Throwable associated with log message.public void info(String message)
message - The string messagepublic void info(String sourceClass, String sourceMethod, String message)
sourceClass - name of class that issued the logging requestsourceMethod - name of the methodmessage - The string messagepublic void info(String message, Throwable thrown)
message - The string messagethrown - Throwable associated with log message.public void fine(String message)
message - The string messagepublic void fine(String message, FList flist)
FListmessage - The string messageflist - The flist to logpublic void fine(String sourceClass, String sourceMethod, String message)
sourceClass - name of class that issued the logging requestsourceMethod - name of the methodmessage - The string messagepublic void fine(String message, Throwable thrown)
message - The string messagethrown - Throwable associated with log message.public void severe(String message)
message - The string messagepublic void severe(String sourceClass, String sourceMethod, String message)
sourceClass - name of class that issued the logging requestsourceMethod - name of the methodmessage - The string messagepublic void severe(String message, Throwable thrown)
message - The string messagethrown - Throwable associated with log message.public void severe(String sourceMethod, String message, Throwable thrown)
sourceMethod - Function raising this error logmessage - Help string associated with the errorthrown - Exception object to log stack tracepublic void warning(String message)
message - The string messagepublic void warning(String sourceClass, String sourceMethod, String message)
sourceClass - name of class that issued the logging requestsourceMethod - name of the methodmessage - The string messagepublic void warning(String message, Throwable thrown)
message - The string messagethrown - Throwable associated with log message.public void entering(String sourceMethod)
sourceMethod - Name of the function enteredpublic void entering(String sourceClass, String sourceMethod)
sourceClass - name of class that issued the logging requestsourceMethod - name of method that is being enteredpublic void exiting(String sourceMethod)
sourceMethod - Name of the function exited