public interface ILoggerControl
- Author:
- swong
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ILogger
Return a singleton shared ILogger instance.static ILogger
Instantiate a new instance of an ILogger with the ILogEntryProcessor.DEFAULT log entry processor and a minimum logging level of LogLevel.INFO.static ILogger
makeLogger(ILogEntryProcessor logProcFn)
Instantiate a new instance of an ILogger with the given log entry processor and a minimum logging level of LogLevel.INFO.static ILogger
makeLogger(ILogEntryProcessor logProcFn, LogLevel logLevel)
Instantiate a new instance of an ILogger with the given log entry processor and the given minimum logging level.static ILogger
makeLogger(LogLevel level)
Instantiate a new instance of an ILogger with the ILogEntryProcessor.DEFAULT log entry processor and the given minimum logging level.
-
Method Details
-
makeLogger
Instantiate a new instance of an ILogger with the ILogEntryProcessor.DEFAULT log entry processor and a minimum logging level of LogLevel.INFO.- Returns:
- A new ILogger instance
-
makeLogger
Instantiate a new instance of an ILogger with the ILogEntryProcessor.DEFAULT log entry processor and the given minimum logging level.- Parameters:
level
- The minimum log level to use- Returns:
- A new ILogger instance
-
makeLogger
Instantiate a new instance of an ILogger with the given log entry processor and a minimum logging level of LogLevel.INFO.- Parameters:
logProcFn
- The log entry processor to use- Returns:
- A new ILogger instance
-
makeLogger
Instantiate a new instance of an ILogger with the given log entry processor and the given minimum logging level.- Parameters:
logProcFn
- The log entry processor to uselogLevel
- The minimum log level to use- Returns:
- A new ILogger instance
-