* @param maxSize maximum file size
* @param logExceptions if true, stack traces of passed exceptions will be logged
* @return file trapper
*/
public FileTrapper rollingFileTrapper(String id, String logLevel, String path, int count, long maxSize, boolean logExceptions) {
FileTrapper trapper = fileTrappers.get(id);
if (trapper == null) {
trapper = FileTrapper.rolling(ZorkaLogLevel.valueOf(logLevel), formatCfg(path), count, maxSize, logExceptions);
trapper.start();
fileTrappers.put(id, trapper);
}
return trapper;
}