public class Log
extends java.util.logging.Logger
Modifier and Type | Class | Description |
---|---|---|
static interface |
Log.LogReader |
A rolling log reader interface for streaming in a log a line at a time.
|
static class |
Log.Type |
The various log types supported by this logger.
|
Constructor | Description |
---|---|
Log() |
Constructor for a log object.
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
accessChannelAt(int priority) |
Returns whether access-log channel writer is allocated for current thread for given priority.
|
static boolean |
accessChannelOn() |
Returns whether access-log channel writer is allocated for current thread.
|
static void |
accessOut(java.lang.String message) |
Sends the given message to the access channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
accessOut(java.lang.String module,
java.lang.String message) |
Sends the given message to the access channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
accessOut(java.lang.String module,
java.lang.String message,
int priority) |
Sends the given message to the access channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
void |
addHandler(java.util.logging.Handler handler) |
|
void |
close() |
Shut down this class forever
|
static boolean |
combatChannelAt(int priority) |
Returns whether combat-log channel writer is allocated for current thread for given priority.
|
static boolean |
combatChannelOn() |
Returns whether combat-log channel writer is allocated for current thread.
|
static void |
combatOut(java.lang.String message) |
Sends the given message to the combatlog channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
combatOut(java.lang.String message,
int priority) |
Sends the given message to the combatlog channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
combatOut(java.lang.String module,
java.lang.String message) |
Sends the given message to the combat channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
combatOut(java.lang.String module,
java.lang.String message,
int priority) |
Sends the given message to the combatlog channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
void |
config(java.lang.String msg) |
|
void |
configureLog(Log.Type type,
java.lang.String code) |
Reset all of the log files
ON, OFF, FILE, BOTH
Usage: CMProps.initLog(Log.LogType.info,"ON");
|
void |
configureLog(Log.Type type,
java.lang.String code,
int numberOfLogs) |
Reset all of the log files
ON, OFF, FILE, BOTH
Usage: CMProps.initLog(Log.LogType.info,"OWNFILE",20);
|
void |
configureLogFile(java.lang.String logFilePath,
int numberOfLogs) |
Start all of the log files in the info temp directory
Usage: configureLogFile("mud",5);
|
static boolean |
debugChannelAt(int priority) |
Returns whether debug channel writer is allocated for current thread for given priority.
|
static boolean |
debugChannelOn() |
Returns whether debug channel writer is allocated for current thread.
|
static void |
debugOut(java.lang.String message) |
Sends the given message to the debug channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
debugOut(java.lang.String message,
int priority) |
Sends the given message to the debug channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
debugOut(java.lang.String module,
int priority,
java.lang.Exception e) |
Sends the given exception to the debug channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
debugOut(java.lang.String module,
java.lang.String message) |
Sends the given message to the debug channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
debugOut(java.lang.String module,
java.lang.String message,
int priority) |
Sends the given message to the debug channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
debugOut(java.lang.String module,
java.lang.Throwable e) |
Sends the given exception to the debug channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
debugOut(java.lang.Throwable e) |
Sends the given exception to the debug channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
void |
entering(java.lang.String sourceClass,
java.lang.String sourceMethod) |
|
void |
entering(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object param1) |
|
void |
entering(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object[] params) |
|
static boolean |
errorChannelAt(int priority) |
Returns whether error channel writer is allocated for current thread for given priority.
|
static boolean |
errorChannelOn() |
Returns whether error channel writer is allocated for current thread.
|
static void |
errOut(java.lang.String message) |
Sends the given message to the error channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
errOut(java.lang.String message,
int priority) |
Sends the given message to the error channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
errOut(java.lang.String module,
int priority,
java.lang.Throwable e) |
Sends the given exception to the error channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
errOut(java.lang.String module,
java.lang.String message) |
Sends the given message to the error channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
errOut(java.lang.String module,
java.lang.String message,
int priority) |
Sends the given message to the error channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
errOut(java.lang.String module,
java.lang.Throwable e) |
Sends the given exception to the error channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
errOut(java.lang.String module,
java.lang.Throwable e,
java.lang.String preMsgStr) |
Sends the given exception to the error channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
errOut(java.lang.Throwable e) |
Sends the given exception to the error channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
void |
exiting(java.lang.String sourceClass,
java.lang.String sourceMethod) |
|
void |
exiting(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object result) |
|
void |
fine(java.lang.String msg) |
|
void |
finer(java.lang.String msg) |
|
void |
finest(java.lang.String msg) |
|
java.util.logging.Filter |
getFilter() |
|
java.util.logging.Handler[] |
getHandlers() |
|
java.util.logging.Level |
getLevel() |
|
java.lang.StringBuffer |
getLog() |
Returns the contents of the log file as a StringBuffer, if it exists
|
java.lang.String |
getLogFilename(Log.Type type) |
Given a log type, return the default log file name or null.
|
java.lang.String |
getLogLocation() |
Start all of the log files
Usage: path = getLogLocation();
|
Log.LogReader |
getLogReader() |
Returns an internally managed log reader class to make
reading lines from the log slightly easier
|
java.lang.String |
getName() |
|
java.util.logging.Logger |
getParent() |
|
java.util.ResourceBundle |
getResourceBundle() |
|
java.lang.String |
getResourceBundleName() |
|
boolean |
getUseParentHandlers() |
|
static boolean |
helpChannelAt(int priority) |
Returns whether help channel writer is allocated for current thread for given priority.
|
static boolean |
helpChannelOn() |
Returns whether help channel writer is allocated for current thread.
|
static void |
helpOut(java.lang.String message) |
Sends the given message to the help channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
helpOut(java.lang.String message,
int priority) |
Sends the given message to the help channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
helpOut(java.lang.String module,
java.lang.String message) |
Sends the given message to the help channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
helpOut(java.lang.String module,
java.lang.String message,
int priority) |
Sends the given message to the help channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
void |
info(java.lang.String msg) |
|
static boolean |
infoChannelAt(int priority) |
Returns whether info channel writer is allocated for current thread for given priority.
|
static boolean |
infoChannelOn() |
Returns whether info channel writer is allocated for current thread.
|
static void |
infoOut(java.lang.String message) |
Sends the given message to the info channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
infoOut(java.lang.String message,
int priority) |
Sends the given message to the info channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
infoOut(java.lang.String module,
java.lang.String message) |
Sends the given message to the info channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
infoOut(java.lang.String module,
java.lang.String message,
int priority) |
Sends the given message to the info channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static Log |
instance() |
Returns a Log object for the current thread group.
|
boolean |
isLoggable(java.util.logging.Level level) |
|
static boolean |
isMaskedErrMsg(java.lang.String str) |
Optional method to determine if message is a masked
out throwable message type.
|
static boolean |
killsChannelAt(int priority) |
Returns whether kill-log channel writer is allocated for current thread for given priority.
|
static boolean |
killsChannelOn() |
Returns whether kill-log channel writer is allocated for current thread.
|
static void |
killsOut(java.lang.String message) |
Sends the given message to the killlog channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
killsOut(java.lang.String message,
int priority) |
Sends the given message to the killlog channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
killsOut(java.lang.String module,
java.lang.String message) |
Sends the given message to the killlog channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
killsOut(java.lang.String module,
java.lang.String message,
int priority) |
Sends the given message to the killlog channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static Log |
l(char threadCode) |
Returns the log object for the given threadgroup code, or null if unassigned.
|
void |
log(java.util.logging.Level level,
java.lang.String msg) |
|
void |
log(java.util.logging.Level level,
java.lang.String msg,
java.lang.Object param1) |
|
void |
log(java.util.logging.Level level,
java.lang.String msg,
java.lang.Object[] params) |
|
void |
log(java.util.logging.Level level,
java.lang.String msg,
java.lang.Throwable thrown) |
|
void |
log(java.util.logging.LogRecord record) |
|
void |
logp(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg) |
|
void |
logp(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Object param1) |
|
void |
logp(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Object[] params) |
|
void |
logp(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Throwable thrown) |
|
void |
logrb(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String bundleName,
java.lang.String msg) |
Deprecated.
|
void |
logrb(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String bundleName,
java.lang.String msg,
java.lang.Object param1) |
Deprecated.
|
void |
logrb(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String bundleName,
java.lang.String msg,
java.lang.Object[] params) |
Deprecated.
|
void |
logrb(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String bundleName,
java.lang.String msg,
java.lang.Throwable thrown) |
Deprecated.
|
static java.lang.String |
makeLogEntry(Log.Type type,
java.lang.String module,
java.lang.String message) |
Will be used to create a standardized log header for file logs
Usage: SysOutWriter.println(getLogHeader(S,LogType.info,module, message));
|
static Log |
newInstance() |
Forces the creation of a new, unconfigured Log object for the current thread group.
|
int |
numLines() |
Returns number of lines in the log file, if any.
|
void |
rawStandardOut(Log.Type type,
java.lang.String line,
int priority) |
Handles raw info logging entries.
|
static void |
rawSysOut(java.lang.String message) |
Sends the given line to the info channel, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
rawSysOut(java.lang.String message,
int priority) |
Sends the given line to the info channel, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
void |
removeHandler(java.util.logging.Handler handler) |
|
void |
setFilter(java.util.logging.Filter newFilter) |
|
void |
setLevel(java.util.logging.Level newLevel) |
|
void |
setParent(java.util.logging.Logger parent) |
|
void |
setUseParentHandlers(boolean useParentHandlers) |
|
void |
severe(java.lang.String msg) |
|
static void |
shareWith(char threadCode) |
Forces the current thread group to share a Log object with the one at the given
threadcode.
|
void |
shortExOut(Log.Type type,
java.lang.String module,
int priority,
java.lang.Throwable e) |
Handles error logging entries.
|
void |
standardExOut(Log.Type type,
java.lang.String module,
int priority,
java.lang.String prePend,
java.lang.Throwable e) |
Handles long exception logging entries.
|
static void |
sysOut(java.lang.String message) |
Sends the given message to the info channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
sysOut(java.lang.String message,
int priority) |
Sends the given message to the info channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
sysOut(java.lang.String module,
java.lang.String message) |
Sends the given message to the info channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
sysOut(java.lang.String module,
java.lang.String message,
int priority) |
Sends the given message to the info channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
void |
throwing(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Throwable thrown) |
|
void |
timeOut(Log.Type type,
java.lang.String module,
java.lang.String msg,
int priority) |
Handles debug timing entries.
|
static boolean |
warnChannelAt(int priority) |
Returns whether warning channel writer is allocated for current thread for given priority.
|
static boolean |
warnChannelOn() |
Returns whether warning channel writer is allocated for current thread.
|
void |
warning(java.lang.String msg) |
|
static void |
warnOut(java.lang.String message) |
Sends the given message to the warning channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
warnOut(java.lang.String message,
int priority) |
Sends the given message to the warning channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
warnOut(java.lang.String module,
int priority,
java.lang.Throwable e) |
Sends the given exception to the warning channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
warnOut(java.lang.String module,
java.lang.String message) |
Sends the given message to the warning channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
warnOut(java.lang.String module,
java.lang.String message,
int priority) |
Sends the given message to the warning channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
warnOut(java.lang.String module,
java.lang.Throwable e) |
Sends the given exception to the warning channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
static void |
warnOut(java.lang.Throwable e) |
Sends the given exception to the warning channel log, if appropriate to do so,
whether its to System.out, a file, both, or neither.
|
public Log()
public static final Log l(char threadCode)
threadCode
- the threadgroup code to checkpublic static final Log instance()
public static final Log newInstance()
public static final void shareWith(char threadCode)
threadCode
- the threadcode with an existing logpublic static final boolean isMaskedErrMsg(java.lang.String str)
str
- the messagepublic final java.lang.String getLogFilename(Log.Type type)
type
- the local log typepublic final void configureLog(Log.Type type, java.lang.String code)
type
- the log to set the code forcode
- the codepublic final void configureLog(Log.Type type, java.lang.String code, int numberOfLogs)
type
- the log to set the code forcode
- the codenumberOfLogs
- if code = "OWNFILE", then how many back logs to keeppublic final void configureLogFile(java.lang.String logFilePath, int numberOfLogs)
logFilePath
- maximum name of filesnumberOfLogs
- maximum number of filespublic final int numLines()
public final Log.LogReader getLogReader()
public final java.lang.StringBuffer getLog()
public final java.lang.String getLogLocation()
public static final java.lang.String makeLogEntry(Log.Type type, java.lang.String module, java.lang.String message)
type
- type of informationmodule
- the module namemessage
- the message to printpublic static final void infoOut(java.lang.String message)
message
- The message to printpublic static final void sysOut(java.lang.String message)
message
- The message to printpublic static final void debugOut(java.lang.String message)
message
- The message to printpublic static final void errOut(java.lang.String message)
message
- The message to printpublic static final void warnOut(java.lang.String message)
message
- The message to printpublic static final void helpOut(java.lang.String message)
message
- The message to printpublic static final void killsOut(java.lang.String message)
message
- The message to printpublic static final void combatOut(java.lang.String message)
message
- The message to printpublic static final void accessOut(java.lang.String message)
message
- The message to printpublic static final void sysOut(java.lang.String module, java.lang.String message)
module
- The module name to prefix the message withmessage
- The message to printpublic static final void infoOut(java.lang.String module, java.lang.String message)
module
- The module name to prefix the message withmessage
- The message to printpublic static final void errOut(java.lang.String module, java.lang.String message)
module
- The module name to prefix the message withmessage
- The message to printpublic static final void warnOut(java.lang.String module, java.lang.String message)
module
- The module name to prefix the message withmessage
- The message to printpublic static final void debugOut(java.lang.String module, java.lang.String message)
module
- The module name to prefix the message withmessage
- The message to printpublic static final void helpOut(java.lang.String module, java.lang.String message)
module
- The module name to prefix the message withmessage
- The message to printpublic static final void killsOut(java.lang.String module, java.lang.String message)
module
- The module name to prefix the message withmessage
- The message to printpublic static final void combatOut(java.lang.String module, java.lang.String message)
module
- The module name to prefix the message withmessage
- The message to printpublic static final void accessOut(java.lang.String module, java.lang.String message)
module
- The module name to prefix the message withmessage
- The message to printpublic static final void debugOut(java.lang.String module, java.lang.Throwable e)
module
- The module name to prefix the message withe
- The exception to send out the stack and message ofpublic static final void errOut(java.lang.String module, java.lang.Throwable e)
module
- The module name to prefix the message withe
- The exception to send out the stack and message ofpublic static final void errOut(java.lang.String module, java.lang.Throwable e, java.lang.String preMsgStr)
module
- The module name to prefix the message withe
- The exception to send out the stack and message ofpreMsgStr
- brief message to prepend to the errorpublic static final void warnOut(java.lang.String module, java.lang.Throwable e)
module
- The module name to prefix the message withe
- The exception to send out the stack and message ofpublic static final void debugOut(java.lang.Throwable e)
e
- The exception to send out the stack and message ofpublic static final void errOut(java.lang.Throwable e)
e
- The exception to send out the stack and message ofpublic static final void warnOut(java.lang.Throwable e)
e
- The exception to send out the stack and message ofpublic static final void rawSysOut(java.lang.String message)
message
- the message to send exactly as-is.public static final void infoOut(java.lang.String message, int priority)
message
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void sysOut(java.lang.String message, int priority)
message
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void debugOut(java.lang.String message, int priority)
message
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void errOut(java.lang.String message, int priority)
message
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void warnOut(java.lang.String message, int priority)
message
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void helpOut(java.lang.String message, int priority)
message
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void killsOut(java.lang.String message, int priority)
message
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void combatOut(java.lang.String message, int priority)
message
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void infoOut(java.lang.String module, java.lang.String message, int priority)
module
- the module name to prefix the main message withmessage
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void sysOut(java.lang.String module, java.lang.String message, int priority)
module
- the module name to prefix the main message withmessage
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void errOut(java.lang.String module, java.lang.String message, int priority)
module
- the module name to prefix the main message withmessage
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void warnOut(java.lang.String module, java.lang.String message, int priority)
module
- the module name to prefix the main message withmessage
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void debugOut(java.lang.String module, java.lang.String message, int priority)
module
- the module name to prefix the main message withmessage
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void helpOut(java.lang.String module, java.lang.String message, int priority)
module
- the module name to prefix the main message withmessage
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void killsOut(java.lang.String module, java.lang.String message, int priority)
module
- the module name to prefix the main message withmessage
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void combatOut(java.lang.String module, java.lang.String message, int priority)
module
- the module name to prefix the main message withmessage
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void accessOut(java.lang.String module, java.lang.String message, int priority)
module
- the module name to prefix the main message withmessage
- the base message to send to the logpriority
- the priority level to give to this messagepublic static final void debugOut(java.lang.String module, int priority, java.lang.Exception e)
module
- the module name to prefix the main message withe
- the exception to send the stack trace and message ofpriority
- the priority level to give to this messagepublic static final void errOut(java.lang.String module, int priority, java.lang.Throwable e)
module
- the module name to prefix the main message withe
- the exception to send the stack trace and message ofpriority
- the priority level to give to this messagepublic static final void warnOut(java.lang.String module, int priority, java.lang.Throwable e)
module
- the module name to prefix the main message withe
- the exception to send the stack trace and message ofpriority
- the priority level to give to this messagepublic static final void rawSysOut(java.lang.String message, int priority)
message
- the message to send exactly as-is.priority
- the priority to assign to this line of textpublic final void standardExOut(Log.Type type, java.lang.String module, int priority, java.lang.String prePend, java.lang.Throwable e)
type
- The channel to print tomodule
- The module to printpriority
- the priority level to give to this messageprePend
- A string to prepend the message, or nulle
- The exception whose string one wishes to printpublic final void shortExOut(Log.Type type, java.lang.String module, int priority, java.lang.Throwable e)
type
- The type of channelmodule
- The message to printpriority
- the priority level to give to this messagee
- The exception whose string one wishes to printpublic final void rawStandardOut(Log.Type type, java.lang.String line, int priority)
type
- The type of messageline
- The message to printpriority
- The priority of the message, high is less priority, 0=alwayspublic final void timeOut(Log.Type type, java.lang.String module, java.lang.String msg, int priority)
type
- Channel namemodule
- The file namemsg
- The message to printpriority
- The priority of the message, high is less priority, 0=alwayspublic final void close()
public static final boolean errorChannelOn()
public static final boolean helpChannelOn()
public static final boolean debugChannelOn()
public static final boolean infoChannelOn()
public static final boolean warnChannelOn()
public static final boolean killsChannelOn()
public static final boolean combatChannelOn()
public static final boolean accessChannelOn()
public static final boolean errorChannelAt(int priority)
priority
- priority level to check for writer atpublic static final boolean helpChannelAt(int priority)
priority
- priority level to check for writer atpublic static final boolean debugChannelAt(int priority)
priority
- priority level to check for writer atpublic static final boolean infoChannelAt(int priority)
priority
- priority level to check for writer atpublic static final boolean warnChannelAt(int priority)
priority
- priority level to check for writer atpublic static final boolean killsChannelAt(int priority)
priority
- priority level to check for writer atpublic static final boolean combatChannelAt(int priority)
priority
- priority level to check for writer atpublic static final boolean accessChannelAt(int priority)
priority
- priority level to check for writer atpublic void addHandler(java.util.logging.Handler handler)
addHandler
in class java.util.logging.Logger
public void config(java.lang.String msg)
config
in class java.util.logging.Logger
public void entering(java.lang.String sourceClass, java.lang.String sourceMethod)
entering
in class java.util.logging.Logger
public void entering(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object param1)
entering
in class java.util.logging.Logger
public void entering(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object[] params)
entering
in class java.util.logging.Logger
public void exiting(java.lang.String sourceClass, java.lang.String sourceMethod)
exiting
in class java.util.logging.Logger
public void exiting(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object result)
exiting
in class java.util.logging.Logger
public void fine(java.lang.String msg)
fine
in class java.util.logging.Logger
public void finer(java.lang.String msg)
finer
in class java.util.logging.Logger
public void finest(java.lang.String msg)
finest
in class java.util.logging.Logger
public java.util.logging.Filter getFilter()
getFilter
in class java.util.logging.Logger
public java.util.logging.Handler[] getHandlers()
getHandlers
in class java.util.logging.Logger
public java.util.logging.Level getLevel()
getLevel
in class java.util.logging.Logger
public java.lang.String getName()
getName
in class java.util.logging.Logger
public java.util.logging.Logger getParent()
getParent
in class java.util.logging.Logger
public java.util.ResourceBundle getResourceBundle()
getResourceBundle
in class java.util.logging.Logger
public java.lang.String getResourceBundleName()
getResourceBundleName
in class java.util.logging.Logger
public boolean getUseParentHandlers()
getUseParentHandlers
in class java.util.logging.Logger
public void info(java.lang.String msg)
info
in class java.util.logging.Logger
public boolean isLoggable(java.util.logging.Level level)
isLoggable
in class java.util.logging.Logger
public void log(java.util.logging.Level level, java.lang.String msg)
log
in class java.util.logging.Logger
public void log(java.util.logging.Level level, java.lang.String msg, java.lang.Object param1)
log
in class java.util.logging.Logger
public void log(java.util.logging.Level level, java.lang.String msg, java.lang.Object[] params)
log
in class java.util.logging.Logger
public void log(java.util.logging.Level level, java.lang.String msg, java.lang.Throwable thrown)
log
in class java.util.logging.Logger
public void log(java.util.logging.LogRecord record)
log
in class java.util.logging.Logger
public void logp(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg)
logp
in class java.util.logging.Logger
public void logp(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Object param1)
logp
in class java.util.logging.Logger
public void logp(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Object[] params)
logp
in class java.util.logging.Logger
public void logp(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Throwable thrown)
logp
in class java.util.logging.Logger
@Deprecated public void logrb(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msg)
logrb
in class java.util.logging.Logger
@Deprecated public void logrb(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msg, java.lang.Object param1)
logrb
in class java.util.logging.Logger
@Deprecated public void logrb(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msg, java.lang.Object[] params)
logrb
in class java.util.logging.Logger
@Deprecated public void logrb(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msg, java.lang.Throwable thrown)
logrb
in class java.util.logging.Logger
public void removeHandler(java.util.logging.Handler handler)
removeHandler
in class java.util.logging.Logger
public void setFilter(java.util.logging.Filter newFilter)
setFilter
in class java.util.logging.Logger
public void setLevel(java.util.logging.Level newLevel)
setLevel
in class java.util.logging.Logger
public void setParent(java.util.logging.Logger parent)
setParent
in class java.util.logging.Logger
public void setUseParentHandlers(boolean useParentHandlers)
setUseParentHandlers
in class java.util.logging.Logger
public void severe(java.lang.String msg)
severe
in class java.util.logging.Logger
public void throwing(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Throwable thrown)
throwing
in class java.util.logging.Logger
public void warning(java.lang.String msg)
warning
in class java.util.logging.Logger