Package | Description |
---|---|
fc.io |
Modifier and Type | Field and Description |
---|---|
static LogLevel |
Log.DEBUG |
static LogLevel |
Log.DEFAULT_LEVEL
The default level used for new logs.
|
static LogLevel |
Log.ERROR |
static LogLevel |
Log.INFO |
static LogLevel |
Log.OFF |
static LogLevel |
Log.WARN |
Modifier and Type | Method and Description |
---|---|
LogLevel |
Log.getLevel()
Returns the current level set for this log.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Log.canLog(LogLevel level)
Returns true if the log's current level will allow logging
messages at the specified logging level.
|
String |
Log.getDebugContext(LogLevel level,
int framenum)
Returns the method name, file number and line number
of the calling method.
|
void |
SystemLog.log(LogLevel level,
Object str1) |
abstract void |
Log.log(LogLevel level,
Object str1) |
void |
SystemLog.log(LogLevel level,
Object str1,
Object str2) |
abstract void |
Log.log(LogLevel level,
Object str1,
Object str2) |
void |
SystemLog.log(LogLevel level,
Object str1,
Object str2,
Object str3) |
abstract void |
Log.log(LogLevel level,
Object str1,
Object str2,
Object str3) |
void |
SystemLog.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4) |
abstract void |
Log.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4) |
void |
SystemLog.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5) |
abstract void |
Log.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5) |
void |
SystemLog.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5,
Object str6) |
abstract void |
Log.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5,
Object str6) |
void |
SystemLog.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5,
Object str6,
Object str7) |
abstract void |
Log.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5,
Object str6,
Object str7) |
void |
SystemLog.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5,
Object str6,
Object str7,
Object str8) |
abstract void |
Log.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5,
Object str6,
Object str7,
Object str8) |
void |
SystemLog.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5,
Object str6,
Object str7,
Object str8,
Object... args) |
abstract void |
Log.log(LogLevel level,
Object str1,
Object str2,
Object str3,
Object str4,
Object str5,
Object str6,
Object str7,
Object str8,
Object... args) |
void |
Log.printMethodInfoAtLevel(LogLevel level)
By default, method, line and thread information is printed wich each
logging statement at the DEBUG level.
|
static void |
Log.setDefaultLevel(LogLevel level)
Sets the new default logging level for all new instances of loggers
(that are created after this method is invoked).
|
void |
Log.setLevel(LogLevel level)
Sets the current logging level for this logger.
|
static void |
Log.setLevelForAll(String name,
LogLevel level)
Sets the level for all logs whose name contain the specified name.
|
Constructor and Description |
---|
SystemLog(String name,
PrintStream out,
LogLevel loglevel)
Creates a new SystemLog.
|