public class FileLoggingContext extends AbstractLoggingContext
Constructor and Description |
---|
FileLoggingContext(Log.Level level,
File logFile) |
FileLoggingContext(Log.Level level,
File logFile,
int maxFiles,
long maxSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isLogging(Log.Level level) |
void |
log(Log.Level level,
String msg,
Throwable e,
Object... args) |
void |
newline() |
void |
raw(Log.Level level,
String msg) |
getLevel
public FileLoggingContext(Log.Level level, File logFile) throws IOException
IOException
public FileLoggingContext(Log.Level level, File logFile, int maxFiles, long maxSize) throws IOException
IOException
public boolean isLogging(Log.Level level)
isLogging
in interface LoggerContext
isLogging
in class AbstractLoggingContext
public void close()
public void newline()
Copyright © 2024. All rights reserved.