railo.commons.io.log
Class LogFile
java.lang.Object
railo.commons.io.log.LogResource
railo.commons.io.log.LogFile
- All Implemented Interfaces:
- Log
public final class LogFile
- extends LogResource
Simple Logger to log data to a file
Constructor Summary |
LogFile(File file,
int logLevel,
String charset)
Constructor of the Logger |
LogFile(File file,
long maxFileSize,
int maxFiles,
int logLevel,
String charset)
Constructor of the Logger |
LogFile(File file,
long maxFileSize,
int logLevel,
String charset)
Constructor of the Logger |
Methods inherited from class railo.commons.io.log.LogResource |
debug, error, fatal, getLogLevel, getMaxFiles, getMaxFileSize, getResource, info, log, setLogLevel, toString, warn |
LogFile
public LogFile(File file,
int logLevel,
String charset)
throws IOException
- Constructor of the Logger
- Parameters:
file
- file to log tologLevel
-
- Throws:
IOException
LogFile
public LogFile(File file,
long maxFileSize,
int logLevel,
String charset)
throws IOException
- Constructor of the Logger
- Parameters:
file
- file to log tomaxFileSize
- max file size if file is greater creates a backup file of the actuell file and creates a new one.logLevel
-
- Throws:
IOException
LogFile
public LogFile(File file,
long maxFileSize,
int maxFiles,
int logLevel,
String charset)
throws IOException
- Constructor of the Logger
- Parameters:
file
- file to log tomaxFileSize
- max file size if file is greater creates a backup file of the actuell file and creates a new one.maxFiles
- max count of fileslogLevel
-
- Throws:
IOException
Copyright © 2012 Railo