Package | Description |
---|---|
lib.easyjava.io.output |
Modifier and Type | Method and Description |
---|---|
static Logger.Level |
Logger.Level.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Logger.Level[] |
Logger.Level.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Logger.defaultLog(java.lang.Exception exception,
Logger.Level level)
Writes the exception to the default log file at the given importance
level
|
static void |
Logger.defaultLog(java.lang.String content,
Logger.Level level)
Writes the content to the default log file at the given importance level
|
void |
Logger.log(java.lang.Exception exception,
Logger.Level level)
Writes the exception to the log file at the given importance level
|
void |
Logger.log(java.lang.String content,
Logger.Level level)
Writes the content to the log file at the given importance level
|
static void |
Logger.setDefaultLevel(Logger.Level level,
boolean only)
Sets the logger level for the default logger.
|
void |
Logger.setLevel(Logger.Level level,
boolean only)
Sets the logger level.
|
Constructor and Description |
---|
Logger(java.io.File file,
boolean append,
Logger.Level level)
Creates a new logger
|
Logger(java.io.File file,
boolean append,
Logger.Level level,
boolean only)
Creates a new logger
|
Logger(Logger.Level level)
Creates a new console logger
|
Logger(Logger.Level level,
boolean only)
Creates a new console logger
|
Logger(java.lang.String filePath,
boolean append,
Logger.Level level)
Creates a new logger
|
Logger(java.lang.String filePath,
boolean append,
Logger.Level level,
boolean only)
Creates a new logger
|