Class ILog
- java.lang.Object
- com.iizix.ILog
public class ILog extends java.lang.Object
Class handling logging for a module in the system, also maybe with specific settings in regards to log levels and log redirectors.The
Loggers
class handles the available and registered loggers on a thread or thread group basis, or an instance of a class that can hold the particular instance data.Optional arguments are placed in order where the formatting string contains open/close braces as "{}". If there are missing braces, each additional argument is placed on a numbered line below, indented with " - ", resulting in e.g. " - 1 = argument-as-string".
The following arguments are converted using "deep-toString" meaning their contents and subcontents are deep-toString'eg if possible, otherwise just as "toString()".
- null: "null".
- Array of primitives: the entire array is expanded.
- com.iizix.prop.StringMapProp or java.util.Map: lists all the contents on new lines as " - key = value".
- Throwable: expanded throwable with stack trace, including potential ignored exception and cause.
- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description static int
CONFIG
The CONFIG (=4) log event.static int
FINE
The FINE (=5) log event.static int
FINER
The FINER (=6) log event.static int
FINEST
The FINEST (=7) log event.static int
INFO
The INFO (=3) log event.static int
SEVERE
The SEVERE (=1) log event.static int
WARNING
The WARNING (=2) log event.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
config(java.lang.String msg)
Outputs a config log event.void
config(java.lang.String msg, java.lang.Object param1)
Outputs a config log event.void
config(java.lang.String msg, java.lang.Object... params)
Outputs a config log event.void
config(java.lang.String msg, java.lang.Throwable thrown)
Outputs a config log event.static void
CONFIG(java.lang.Class<?> originator, java.lang.String msg)
Outputs a config log event.static void
CONFIG(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a config log event.static void
CONFIG(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a config log event.static void
CONFIG(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a config log event.static void
CONFIG(java.lang.String msg)
Outputs a config log event.static void
CONFIG(java.lang.String msg, java.lang.Object param1)
Outputs a config log event.static void
CONFIG(java.lang.String msg, java.lang.Object... params)
Outputs a config log event.static void
CONFIG(java.lang.String msg, java.lang.Throwable thrown)
Outputs a config log event.static void
entering(java.lang.Class<?> originator, java.lang.String method)
Call to indicate that a method is entered.static void
entering(java.lang.Class<?> originator, java.lang.String method, java.lang.Object param1)
Call to indicate that a method is entered.static void
entering(java.lang.Class<?> originator, java.lang.String method, java.lang.Object... params)
Call to indicate that a method is entered.void
entering(java.lang.Object... params)
Call to indicate that a method is entered.static void
entering(java.lang.Object originator, java.lang.String method)
Call to indicate that a method is entered.static void
entering(java.lang.String originator, java.lang.String method)
Call to indicate that a method is entered.void
exiting()
Call to indicate that a method is exited.static void
exiting(java.lang.Class<?> originator, java.lang.String method)
Call to indicate that a method is exited.static void
exiting(java.lang.Class<?> originator, java.lang.String method, java.lang.Object result)
Call to indicate that a method is exited with a return value.static void
exiting(java.lang.String originator, java.lang.String method)
Call to indicate that a method is exited.static void
exiting(java.lang.String originator, java.lang.String method, java.lang.Object result)
Call to indicate that a method is exited with a return value.void
fine(java.lang.String msg)
Outputs a fine log event.void
fine(java.lang.String msg, java.lang.Object param1)
Outputs a fine log event.void
fine(java.lang.String msg, java.lang.Object... params)
Outputs a fine log event.void
fine(java.lang.String msg, java.lang.Throwable thrown)
Outputs a fine log event.static void
FINE(java.lang.Class<?> originator, java.lang.String msg)
Outputs a fine log event.static void
FINE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a fine log event.static void
FINE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a fine log event.static void
FINE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a fine log event.static void
FINE(java.lang.String msg)
Outputs a fine log event.static void
FINE(java.lang.String msg, java.lang.Object param1)
Outputs a fine log event.static void
FINE(java.lang.String msg, java.lang.Object... params)
Outputs a fine log event.static void
FINE(java.lang.String msg, java.lang.Throwable thrown)
Outputs a fine log event.void
finer(java.lang.String msg)
Outputs a finer log event.void
finer(java.lang.String msg, java.lang.Object param1)
Outputs a finer log event.void
finer(java.lang.String msg, java.lang.Object... params)
Outputs a finer log event.void
finer(java.lang.String msg, java.lang.Throwable thrown)
Outputs a finer log event.static void
FINER(java.lang.Class<?> originator, java.lang.String msg)
Outputs a finer log event.static void
FINER(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a finer log event.static void
FINER(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a finer log event.static void
FINER(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a finer log event.static void
FINER(java.lang.String msg)
Outputs a finer log event.static void
FINER(java.lang.String msg, java.lang.Object param1)
Outputs a finer log event.static void
FINER(java.lang.String msg, java.lang.Object... params)
Outputs a finer log event.static void
FINER(java.lang.String msg, java.lang.Throwable thrown)
Outputs a finer log event.void
finest(java.lang.String msg)
Outputs a finest log event.void
finest(java.lang.String msg, java.lang.Object param1)
Outputs a finest log event.void
finest(java.lang.String msg, java.lang.Object... params)
Outputs a finest log event.void
finest(java.lang.String msg, java.lang.Throwable thrown)
Outputs a finest log event.static void
FINEST(java.lang.Class<?> originator, java.lang.String msg)
Outputs a finest log event.static void
FINEST(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a finest log event.static void
FINEST(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a finest log event.static void
FINEST(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a finest log event.static void
FINEST(java.lang.String msg)
Outputs a finest log event.static void
FINEST(java.lang.String msg, java.lang.Object param1)
Outputs a finest log event.static void
FINEST(java.lang.String msg, java.lang.Object... params)
Outputs a finest log event.static void
FINEST(java.lang.String msg, java.lang.Throwable thrown)
Outputs a finest log event.static java.lang.String
format(java.lang.Object... params)
Formats an array of parameters.static int
getLogLevel()
Gets the currently configured log level.static java.lang.String
getShortenedClassName(java.lang.Class<?> clazz)
Gets the shortened name of a class.static java.lang.String
getShortenedClassName(java.lang.String cn)
Gets the shortened name of a class.void
info(java.lang.String msg)
Outputs an info log event.void
info(java.lang.String msg, java.lang.Object param1)
Outputs an info log event.void
info(java.lang.String msg, java.lang.Object... params)
Outputs an info log event.void
info(java.lang.String msg, java.lang.Throwable thrown)
Outputs an info log event.static void
INFO(java.lang.Class<?> originator, java.lang.String msg)
Outputs an info log event.static void
INFO(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs an info log event.static void
INFO(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs an info log event.static void
INFO(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs an info log event.static void
INFO(java.lang.String msg)
Outputs an info log event.static void
INFO(java.lang.String msg, java.lang.Object param1)
Outputs an info log event.static void
INFO(java.lang.String msg, java.lang.Object... params)
Outputs an info log event.static void
INFO(java.lang.String msg, java.lang.Throwable thrown)
Outputs an info log event.static boolean
isLogged(int level)
Checks if the event would normally be logged.static void
log(int level, java.lang.Class<?> clazz, java.lang.String msg)
Logs an event.static void
log(int level, java.lang.Class<?> clazz, java.lang.String msg, java.lang.Object param1)
Logs an event.static void
log(int level, java.lang.Class<?> clazz, java.lang.String msg, java.lang.Object... params)
Logs an event.static void
log(int level, java.lang.String msg)
Logs an event.static void
log(int level, java.lang.String originator, java.lang.String msg)
Logs an event.static void
log(int level, java.lang.String originator, java.lang.String msg, java.lang.Object param1)
Logs an event.static void
log(int level, java.lang.String originator, java.lang.String msg, java.lang.Object... params)
Logs an event.static int
mapJSLogLevelToJava(int level)
Maps the JavaScript log levels [0='DEBUG',1='INFO',2='WARN',3='ERROR',4='FATAL',5='NONE',6='ALWAYS'] to Java.static boolean
setLogLevel(int newLevel)
Changes the logger log level.void
severe(java.lang.String msg)
Outputs a severe log event.void
severe(java.lang.String msg, java.lang.Object param1)
Outputs a severe log event.void
severe(java.lang.String msg, java.lang.Object... params)
Outputs a severe log event.void
severe(java.lang.String msg, java.lang.Throwable thrown)
Outputs a severe log event.static void
SEVERE(java.lang.Class<?> originator, java.lang.String msg)
Outputs a severe log event.static void
SEVERE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a severe log event.static void
SEVERE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a severe log event.static void
SEVERE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a severe log event.static void
SEVERE(java.lang.String msg)
Outputs a severe log event.static void
SEVERE(java.lang.String msg, java.lang.Object param1)
Outputs a severe log event.static void
SEVERE(java.lang.String msg, java.lang.Object... params)
Outputs a severe log event.static void
SEVERE(java.lang.String msg, java.lang.Throwable thrown)
Outputs a severe log event.void
warning(java.lang.String msg)
Outputs a warning log event.void
warning(java.lang.String msg, java.lang.Object param1)
Outputs a warning log event.void
warning(java.lang.String msg, java.lang.Object... params)
Outputs a warning log event.void
warning(java.lang.String msg, java.lang.Throwable thrown)
Outputs a warning log event.static void
WARNING(java.lang.Class<?> originator, java.lang.String msg)
Outputs a warning log event.static void
WARNING(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a warning log event.static void
WARNING(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a warning log event.static void
WARNING(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a warning log event.static void
WARNING(java.lang.String msg)
Outputs a warning log event.static void
WARNING(java.lang.String msg, java.lang.Object param1)
Outputs a warning log event.static void
WARNING(java.lang.String msg, java.lang.Object... params)
Outputs a warning log event.static void
WARNING(java.lang.String msg, java.lang.Throwable thrown)
Outputs a warning log event.
Field Detail
SEVERE
public static final int SEVERE
The SEVERE (=1) log event.- See Also:
- Constant Field Values
WARNING
public static final int WARNING
The WARNING (=2) log event.- See Also:
- Constant Field Values
INFO
public static final int INFO
The INFO (=3) log event.- See Also:
- Constant Field Values
CONFIG
public static final int CONFIG
The CONFIG (=4) log event.- See Also:
- Constant Field Values
FINE
public static final int FINE
The FINE (=5) log event.- See Also:
- Constant Field Values
FINER
public static final int FINER
The FINER (=6) log event.- See Also:
- Constant Field Values
FINEST
public static final int FINEST
The FINEST (=7) log event.- See Also:
- Constant Field Values
Method Detail
mapJSLogLevelToJava
public static int mapJSLogLevelToJava(int level)
Maps the JavaScript log levels [0='DEBUG',1='INFO',2='WARN',3='ERROR',4='FATAL',5='NONE',6='ALWAYS'] to Java. NONE and "n/a" maps to FINE.- Parameters:
level
- The JavaScript log level.- Returns:
- The Java log level.
getLogLevel
public static int getLogLevel()
Gets the currently configured log level.- Returns:
- The current log level (1-7) SEVERE-FINEST.
setLogLevel
public static boolean setLogLevel(int newLevel)
Changes the logger log level.- Parameters:
newLevel
- the new log level (1-7) SEVERE-FINEST.- Returns:
- true if any setting changed, false if same values were present.
isLogged
public static boolean isLogged(int level)
Checks if the event would normally be logged. This call is typically used to avoid multiple log outputs one after another or if the message to log is very complex to compute in terms of String concatenation and building.The return value might be true but the event still not logged later on. This might be the case if some special filtering is applied in order to see just the log of e.g. a particular client, application or thread.
- Parameters:
level
- The log level.- Returns:
- true if the event is normally logged, false otherwise.
getShortenedClassName
public static java.lang.String getShortenedClassName(java.lang.Class<?> clazz)
Gets the shortened name of a class.- Parameters:
clazz
- The class, ornull
for "system".- Returns:
- The short form of the class name, or
system
ifclazz
isnull
. - See Also:
getShortenedClassName(String)
getShortenedClassName
public static java.lang.String getShortenedClassName(java.lang.String cn)
Gets the shortened name of a class.The following list shows the names beginning with a prefix and what the replacement is:
- "com.iizix." -> "ci."
- "com.iizix.prop." -> "cip."
- "com.iizix.server." -> "cis."
- "com.iizigo." -> "cI."
- "org.eclipse.jetty." -> "oej."
- "org.eclipse.jetty.server." -> "oejs."
- Parameters:
cn
- The class name.- Returns:
- The short form of the class name (if any short for exists), or "system" if the
cn
parameter wasnull
.
entering
public void entering(java.lang.Object... params)
Call to indicate that a method is entered. If log level is set toFINER
or less, this will be logged. The method name is fetched implicitly. However, this assumes that the containing class has the following static member:private static ILog log = new ILog(ClassName.class);
- Parameters:
params
- Optional parameters
exiting
public void exiting()
Call to indicate that a method is exited. If log level is set toFINER
or less, this will be logged.The method name is fetched implicitly from the call stack.. However, this assumes that the containing class has the following static member:
private static ILog log = new ILog(ClassName.class);
entering
public static void entering(java.lang.Class<?> originator, java.lang.String method)
Call to indicate that a method is entered. If log level is set toFINER
or less, this will be logged.- Parameters:
originator
- The originator classmethod
- The method name
entering
public static void entering(java.lang.Object originator, java.lang.String method)
Call to indicate that a method is entered. If log level is set toFINER
or less, this will be logged.The
originator
parameter will be used to look up the class name from the instance.- Parameters:
originator
- The originator instancemethod
- The method name
entering
public static void entering(java.lang.String originator, java.lang.String method)
Call to indicate that a method is entered. If log level is set toFINER
or less, this will be logged.The
originator
parameter will be used to look up the class name from the instance.- Parameters:
originator
- The originator instancemethod
- The method name
entering
public static void entering(java.lang.Class<?> originator, java.lang.String method, java.lang.Object param1)
Call to indicate that a method is entered. If log level is set toFINER
or less, this will be logged.- Parameters:
originator
- the containing classmethod
- explicit method nameparam1
- the fist parameter
entering
public static void entering(java.lang.Class<?> originator, java.lang.String method, java.lang.Object... params)
Call to indicate that a method is entered. If log level is set toFINER
or less, this will be logged.- Parameters:
originator
- the containing classmethod
- explicit method nameparams
- list of parameters
exiting
public static void exiting(java.lang.Class<?> originator, java.lang.String method)
Call to indicate that a method is exited. If log level is set toFINER
or less, this will be logged.- Parameters:
originator
- the containing classmethod
- explicit method name
exiting
public static void exiting(java.lang.String originator, java.lang.String method)
Call to indicate that a method is exited. If log level is set toFINER
or less, this will be logged.- Parameters:
originator
- the originmethod
- explicit method name
exiting
public static void exiting(java.lang.Class<?> originator, java.lang.String method, java.lang.Object result)
Call to indicate that a method is exited with a return value. If log level is set toFINER
or less, this will be logged.- Parameters:
originator
- the containing classmethod
- explicit method nameresult
- the result
exiting
public static void exiting(java.lang.String originator, java.lang.String method, java.lang.Object result)
Call to indicate that a method is exited with a return value. If log level is set toFINER
or less, this will be logged.- Parameters:
originator
- the originmethod
- explicit method nameresult
- the result
format
public static java.lang.String format(java.lang.Object... params)
Formats an array of parameters.- Parameters:
params
- List of parameters, ornull
for none.- Returns:
- The formatted string of parameters using
Utilities.toString(Object)
.
FINEST
public static void FINEST(java.lang.String msg)
Outputs a finest log event.- Parameters:
msg
- message to log
finest
public void finest(java.lang.String msg)
Outputs a finest log event.- Parameters:
msg
- message to log
FINEST
public static void FINEST(java.lang.String msg, java.lang.Object param1)
Outputs a finest log event.- Parameters:
msg
- message to logparam1
- first parameter
finest
public void finest(java.lang.String msg, java.lang.Object param1)
Outputs a finest log event.- Parameters:
msg
- message to logparam1
- first parameter
FINEST
public static void FINEST(java.lang.String msg, java.lang.Object... params)
Outputs a finest log event.- Parameters:
msg
- message to logparams
- parameters
finest
public void finest(java.lang.String msg, java.lang.Object... params)
Outputs a finest log event.- Parameters:
msg
- message to logparams
- parameters
FINEST
public static void FINEST(java.lang.String msg, java.lang.Throwable thrown)
Outputs a finest log event.- Parameters:
msg
- message to logthrown
- thrown exception
finest
public void finest(java.lang.String msg, java.lang.Throwable thrown)
Outputs a finest log event.- Parameters:
msg
- message to logthrown
- thrown exception
FINEST
public static void FINEST(java.lang.Class<?> originator, java.lang.String msg)
Outputs a finest log event.- Parameters:
originator
- originating classmsg
- message
FINEST
public static void FINEST(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a finest log event.- Parameters:
originator
- originating classmsg
- messageparam1
- first parameter
FINEST
public static void FINEST(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a finest log event.- Parameters:
originator
- originating classmsg
- messageparams
- parameters
FINEST
public static void FINEST(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a finest log event.- Parameters:
originator
- originating classmsg
- messagethrown
- thrown Exception
FINER
public static void FINER(java.lang.String msg)
Outputs a finer log event.- Parameters:
msg
- message to log
finer
public void finer(java.lang.String msg)
Outputs a finer log event.- Parameters:
msg
- message to log
FINER
public static void FINER(java.lang.String msg, java.lang.Object param1)
Outputs a finer log event.- Parameters:
msg
- message to logparam1
- first parameter
finer
public void finer(java.lang.String msg, java.lang.Object param1)
Outputs a finer log event.- Parameters:
msg
- message to logparam1
- first parameter
FINER
public static void FINER(java.lang.String msg, java.lang.Object... params)
Outputs a finer log event.- Parameters:
msg
- message to logparams
- parameters
finer
public void finer(java.lang.String msg, java.lang.Object... params)
Outputs a finer log event.- Parameters:
msg
- message to logparams
- parameters
FINER
public static void FINER(java.lang.String msg, java.lang.Throwable thrown)
Outputs a finer log event.- Parameters:
msg
- message to logthrown
- thrown exception
finer
public void finer(java.lang.String msg, java.lang.Throwable thrown)
Outputs a finer log event.- Parameters:
msg
- message to logthrown
- thrown exception
FINER
public static void FINER(java.lang.Class<?> originator, java.lang.String msg)
Outputs a finer log event.- Parameters:
originator
- originating classmsg
- message
FINER
public static void FINER(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a finer log event.- Parameters:
originator
- originating classmsg
- messageparam1
- first parameter
FINER
public static void FINER(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a finer log event.- Parameters:
originator
- originating classmsg
- messageparams
- parameters
FINER
public static void FINER(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a finer log event.- Parameters:
originator
- originating classmsg
- messagethrown
- thrown Exception
FINE
public static void FINE(java.lang.String msg)
Outputs a fine log event.- Parameters:
msg
- message to log
fine
public void fine(java.lang.String msg)
Outputs a fine log event.- Parameters:
msg
- message to log
FINE
public static void FINE(java.lang.String msg, java.lang.Object param1)
Outputs a fine log event.- Parameters:
msg
- message to logparam1
- first parameter
fine
public void fine(java.lang.String msg, java.lang.Object param1)
Outputs a fine log event.- Parameters:
msg
- message to logparam1
- first parameter
FINE
public static void FINE(java.lang.String msg, java.lang.Object... params)
Outputs a fine log event.- Parameters:
msg
- message to logparams
- parameters
fine
public void fine(java.lang.String msg, java.lang.Object... params)
Outputs a fine log event.- Parameters:
msg
- message to logparams
- parameters
FINE
public static void FINE(java.lang.String msg, java.lang.Throwable thrown)
Outputs a fine log event.- Parameters:
msg
- message to logthrown
- thrown exception
fine
public void fine(java.lang.String msg, java.lang.Throwable thrown)
Outputs a fine log event.- Parameters:
msg
- message to logthrown
- thrown exception
FINE
public static void FINE(java.lang.Class<?> originator, java.lang.String msg)
Outputs a fine log event.- Parameters:
originator
- originating classmsg
- message
FINE
public static void FINE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a fine log event.- Parameters:
originator
- originating classmsg
- messageparam1
- first parameter
FINE
public static void FINE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a fine log event.- Parameters:
originator
- originating classmsg
- messageparams
- parameters
FINE
public static void FINE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a fine log event.- Parameters:
originator
- originating classmsg
- messagethrown
- thrown Exception
CONFIG
public static void CONFIG(java.lang.String msg)
Outputs a config log event.- Parameters:
msg
- message to log
config
public void config(java.lang.String msg)
Outputs a config log event.- Parameters:
msg
- message to log
CONFIG
public static void CONFIG(java.lang.String msg, java.lang.Object param1)
Outputs a config log event.- Parameters:
msg
- message to logparam1
- first parameter
config
public void config(java.lang.String msg, java.lang.Object param1)
Outputs a config log event.- Parameters:
msg
- message to logparam1
- first parameter
CONFIG
public static void CONFIG(java.lang.String msg, java.lang.Object... params)
Outputs a config log event.- Parameters:
msg
- message to logparams
- parameters
config
public void config(java.lang.String msg, java.lang.Object... params)
Outputs a config log event.- Parameters:
msg
- message to logparams
- parameters
CONFIG
public static void CONFIG(java.lang.String msg, java.lang.Throwable thrown)
Outputs a config log event.- Parameters:
msg
- message to logthrown
- thrown exception
config
public void config(java.lang.String msg, java.lang.Throwable thrown)
Outputs a config log event.- Parameters:
msg
- message to logthrown
- thrown exception
CONFIG
public static void CONFIG(java.lang.Class<?> originator, java.lang.String msg)
Outputs a config log event.- Parameters:
originator
- originating classmsg
- message
CONFIG
public static void CONFIG(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a config log event.- Parameters:
originator
- originating classmsg
- messageparam1
- first parameter
CONFIG
public static void CONFIG(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a config log event.- Parameters:
originator
- originating classmsg
- messageparams
- parameters
CONFIG
public static void CONFIG(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a config log event.- Parameters:
originator
- originating classmsg
- messagethrown
- thrown Exception
INFO
public static void INFO(java.lang.String msg)
Outputs an info log event.- Parameters:
msg
- message to log
info
public void info(java.lang.String msg)
Outputs an info log event.- Parameters:
msg
- message to log
INFO
public static void INFO(java.lang.String msg, java.lang.Object param1)
Outputs an info log event.- Parameters:
msg
- message to logparam1
- first parameter
info
public void info(java.lang.String msg, java.lang.Object param1)
Outputs an info log event.- Parameters:
msg
- message to logparam1
- first parameter
INFO
public static void INFO(java.lang.String msg, java.lang.Object... params)
Outputs an info log event.- Parameters:
msg
- message to logparams
- parameters
info
public void info(java.lang.String msg, java.lang.Object... params)
Outputs an info log event.- Parameters:
msg
- message to logparams
- parameters
INFO
public static void INFO(java.lang.String msg, java.lang.Throwable thrown)
Outputs an info log event.- Parameters:
msg
- message to logthrown
- thrown exception
info
public void info(java.lang.String msg, java.lang.Throwable thrown)
Outputs an info log event.- Parameters:
msg
- message to logthrown
- thrown exception
INFO
public static void INFO(java.lang.Class<?> originator, java.lang.String msg)
Outputs an info log event.- Parameters:
originator
- originating classmsg
- message
INFO
public static void INFO(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs an info log event.- Parameters:
originator
- originating classmsg
- messageparam1
- first parameter
INFO
public static void INFO(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs an info log event.- Parameters:
originator
- originating classmsg
- messageparams
- parameters
INFO
public static void INFO(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs an info log event.- Parameters:
originator
- originating classmsg
- messagethrown
- thrown Exception
WARNING
public static void WARNING(java.lang.String msg)
Outputs a warning log event.- Parameters:
msg
- message to log
warning
public void warning(java.lang.String msg)
Outputs a warning log event.- Parameters:
msg
- message to log
WARNING
public static void WARNING(java.lang.String msg, java.lang.Object param1)
Outputs a warning log event.- Parameters:
msg
- message to logparam1
- first parameter
warning
public void warning(java.lang.String msg, java.lang.Object param1)
Outputs a warning log event.- Parameters:
msg
- message to logparam1
- first parameter
WARNING
public static void WARNING(java.lang.String msg, java.lang.Object... params)
Outputs a warning log event.- Parameters:
msg
- message to logparams
- parameters
warning
public void warning(java.lang.String msg, java.lang.Object... params)
Outputs a warning log event.- Parameters:
msg
- message to logparams
- parameters
WARNING
public static void WARNING(java.lang.String msg, java.lang.Throwable thrown)
Outputs a warning log event.- Parameters:
msg
- message to logthrown
- thrown exception
warning
public void warning(java.lang.String msg, java.lang.Throwable thrown)
Outputs a warning log event.- Parameters:
msg
- message to logthrown
- thrown exception
WARNING
public static void WARNING(java.lang.Class<?> originator, java.lang.String msg)
Outputs a warning log event.- Parameters:
originator
- originating classmsg
- message
WARNING
public static void WARNING(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a warning log event.- Parameters:
originator
- originating classmsg
- messageparam1
- first parameter
WARNING
public static void WARNING(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a warning log event.- Parameters:
originator
- originating classmsg
- messageparams
- parameters
WARNING
public static void WARNING(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a warning log event.- Parameters:
originator
- originating classmsg
- messagethrown
- thrown Exception
SEVERE
public static void SEVERE(java.lang.String msg)
Outputs a severe log event.- Parameters:
msg
- message to log
severe
public void severe(java.lang.String msg)
Outputs a severe log event.- Parameters:
msg
- message to log
SEVERE
public static void SEVERE(java.lang.String msg, java.lang.Object param1)
Outputs a severe log event.- Parameters:
msg
- message to logparam1
- first parameter
severe
public void severe(java.lang.String msg, java.lang.Object param1)
Outputs a severe log event.- Parameters:
msg
- message to logparam1
- first parameter
SEVERE
public static void SEVERE(java.lang.String msg, java.lang.Object... params)
Outputs a severe log event.- Parameters:
msg
- message to logparams
- parameters
severe
public void severe(java.lang.String msg, java.lang.Object... params)
Outputs a severe log event.- Parameters:
msg
- message to logparams
- parameters
SEVERE
public static void SEVERE(java.lang.String msg, java.lang.Throwable thrown)
Outputs a severe log event.- Parameters:
msg
- message to logthrown
- thrown exception
severe
public void severe(java.lang.String msg, java.lang.Throwable thrown)
Outputs a severe log event.- Parameters:
msg
- message to logthrown
- thrown exception
SEVERE
public static void SEVERE(java.lang.Class<?> originator, java.lang.String msg)
Outputs a severe log event.- Parameters:
originator
- originating classmsg
- message
SEVERE
public static void SEVERE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object param1)
Outputs a severe log event.- Parameters:
originator
- originating classmsg
- messageparam1
- first parameter
SEVERE
public static void SEVERE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Object... params)
Outputs a severe log event.- Parameters:
originator
- originating classmsg
- messageparams
- parameters
SEVERE
public static void SEVERE(java.lang.Class<?> originator, java.lang.String msg, java.lang.Throwable thrown)
Outputs a severe log event.- Parameters:
originator
- originating classmsg
- messagethrown
- thrown Exception
log
public static void log(int level, java.lang.String msg)
Logs an event.- Parameters:
level
- The log level.msg
- The message.
log
public static void log(int level, java.lang.Class<?> clazz, java.lang.String msg)
Logs an event.- Parameters:
level
- The log level.clazz
- Event originates from class.msg
- The message.
log
public static void log(int level, java.lang.String originator, java.lang.String msg)
Logs an event.- Parameters:
level
- The log level.originator
- Event originates from class or logger name.msg
- The message.
log
public static void log(int level, java.lang.Class<?> clazz, java.lang.String msg, java.lang.Object param1)
Logs an event.- Parameters:
level
- The log level.clazz
- Event originates from class.msg
- The message.param1
- The single parameter.
log
public static void log(int level, java.lang.String originator, java.lang.String msg, java.lang.Object param1)
Logs an event.- Parameters:
level
- The log level.originator
- Event originates from class or logger name.msg
- The message.param1
- The single parameter.
log
public static void log(int level, java.lang.Class<?> clazz, java.lang.String msg, java.lang.Object... params)
Logs an event.- Parameters:
level
- The log level.clazz
- Event originates from class.msg
- The message.params
- The list of parameters.
log
public static void log(int level, java.lang.String originator, java.lang.String msg, java.lang.Object... params)
Logs an event.- Parameters:
level
- The log level.originator
- Event originates from class or logger name.msg
- The message.params
- The list of parameters.