Package edu.uiuc.ncsa.security.core.util
Class LoggerProvider
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.LoggerProvider
-
- All Implemented Interfaces:
ConfigurationTags
,LoggingConfigurationTags
,javax.inject.Provider<MyLoggingFacade>
public class LoggerProvider extends Object implements javax.inject.Provider<MyLoggingFacade>, LoggingConfigurationTags
Provides a logging facade.Created by Jeff Gaynor
on 4/11/12 at 5:39 PM
-
-
Field Summary
-
Fields inherited from interface edu.uiuc.ncsa.security.core.configuration.ConfigurationTags
DEBUG
-
Fields inherited from interface edu.uiuc.ncsa.security.core.util.LoggingConfigurationTags
APPEND_ENABLED, DEBUG_ENABLED, DISABLE_LOG4J, LOG_FILE_COUNT, LOG_FILE_NAME, LOG_FILE_SIZE, LOG_LEVEL, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_OFF, LOG_LEVEL_TRACE, LOG_LEVEL_WARN, LOGGER_NAME, LOGGING_COMPONENT
-
-
Constructor Summary
Constructors Constructor Description LoggerProvider(String logFile, String loggerName, int fileCount, int maxFileSize, boolean disableLog4j, boolean appendOn, Level logLevel)
LoggerProvider(org.apache.commons.configuration.tree.ConfigurationNode configurationNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MyLoggingFacade
get()
String
getLogFile()
String
getLogFileName()
String
getLoggerName()
void
setLoggerName(String loggerName)
protected void
setup()
-
-
-
Method Detail
-
getLogFile
public String getLogFile()
-
setLoggerName
public void setLoggerName(String loggerName)
-
getLoggerName
public String getLoggerName()
-
setup
protected void setup()
-
getLogFileName
public String getLogFileName()
-
get
public MyLoggingFacade get()
- Specified by:
get
in interfacejavax.inject.Provider<MyLoggingFacade>
-
-