public final class FileLogger extends Object implements Logger
| Modifier and Type | Method and Description |
|---|---|
LogFileConfiguration |
getConfig()
Gets the configuration currently in use by the file logger.
|
LogLevel |
getLevel()
Gets the level that will be logged via this logger.
|
void |
log(LogLevel level,
LogDomain domain,
String message)
Performs the actual logging logic
|
void |
setConfig(LogFileConfiguration newConfig)
Sets the configuration for use by the file logger.
|
void |
setLevel(LogLevel level)
Sets the overall logging level that will be written to the logging files.
|
public void log(@NonNull
LogLevel level,
@NonNull
LogDomain domain,
@NonNull
String message)
Logger@NonNull public LogLevel getLevel()
Loggerpublic void setLevel(@NonNull
LogLevel level)
level - The maximum level to include in the logs@Nullable public LogFileConfiguration getConfig()
public void setConfig(@Nullable
LogFileConfiguration newConfig)
newConfig - The configuration to use