public class BatchLogger extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CONVERSION_PATTERN |
static org.apache.log4j.Layout |
DEFAULT_PATTERN_LAYOUT |
static String |
LOG_FILE_APPENDER_NAME |
Constructor and Description |
---|
BatchLogger() |
Modifier and Type | Method and Description |
---|---|
static void |
addConsoleAppender(org.apache.log4j.Logger logger)
Adds a ConsoleAppender to the Logger if one doesn't already exist.
|
static org.apache.log4j.Layout |
getLogFileAppenderLayout()
Returns the layout for the 'LogFile' appender.
|
public static final String DEFAULT_CONVERSION_PATTERN
public static final org.apache.log4j.Layout DEFAULT_PATTERN_LAYOUT
public static final String LOG_FILE_APPENDER_NAME
public BatchLogger()
public static void addConsoleAppender(org.apache.log4j.Logger logger)
logger
- the Logger to which to add a ConsoleAppenderpublic static org.apache.log4j.Layout getLogFileAppenderLayout()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.