public interface ILoggerControl
- Author:
- swong
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ILoggerReturn a singleton shared ILogger instance.static ILoggerInstantiate a new instance of an ILogger with the ILogEntryProcessor.DEFAULT log entry processor and a minimum logging level of LogLevel.INFO.static ILoggermakeLogger(ILogEntryProcessor logProcFn)Instantiate a new instance of an ILogger with the given log entry processor and a minimum logging level of LogLevel.INFO.static ILoggermakeLogger(ILogEntryProcessor logProcFn, LogLevel logLevel)Instantiate a new instance of an ILogger with the given log entry processor and the given minimum logging level.static ILoggermakeLogger(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
-