Uses of Enum Class
provided.logger.LogLevel
Packages that use LogLevel
Package
Description
The model parts of the demo app
The view parts of the demo app
FOR INTERNAL USE ONLY! DEVELOPER CODE SHOULD NEVER DIRECTLY ACCESS ANYTHING IN THIS PACKAGE!
Implementation details for the logger library.
-
Uses of LogLevel in provided.logger
Methods in provided.logger that return LogLevelModifier and TypeMethodDescriptionILogEntry.getLevel()Get this log entry's log levelstatic LogLevelReturns the enum constant of this class with the specified name.static LogLevel[]LogLevel.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in provided.logger with parameters of type LogLevelModifier and TypeMethodDescriptionvoidLog the given log entry where the code location is being automatically calculate.static ILogEntryInstantiate a new ILogEntry instance with the given non-null characteristics.static ILoggerILoggerControl.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 ILoggerILoggerControl.makeLogger(LogLevel level)Instantiate a new instance of an ILogger with the ILogEntryProcessor.DEFAULT log entry processor and the given minimum logging level.voidILogger.setLogLevel(LogLevel logLevel)Sets the minimum log level to be displayed.Method parameters in provided.logger with type arguments of type LogLevelModifier and TypeMethodDescriptionstatic ILogEntryProcessorILogEntryProcessor.Wrap(BiConsumer<LogLevel,String> logConsumer, boolean appendLocation)Convenience factory to wrap a Consumer<LogEntry, String> in an ILogEntryProcessor so that it can be used in an ILogger. -
Uses of LogLevel in provided.logger.demo.model
Methods in provided.logger.demo.model with parameters of type LogLevel -
Uses of LogLevel in provided.logger.demo.view
Fields in provided.logger.demo.view with type parameters of type LogLevelModifier and TypeFieldDescriptionMainFrame.cbxSetLogLevelThe drop list that sets the system logger's minimum log levelMethods in provided.logger.demo.view with parameters of type LogLevelModifier and TypeMethodDescriptionvoidIView2ModelAdapter.setLogLevel(LogLevel level)Set the log level of the model's logger. -
Uses of LogLevel in provided.logger.impl
Fields in provided.logger.impl declared as LogLevelModifier and TypeFieldDescriptionprivate LogLevelLogger.currentLogLevelThe current minimum logging levelMethods in provided.logger.impl with parameters of type LogLevelConstructors in provided.logger.impl with parameters of type LogLevelModifierConstructorDescriptionLogger(ILogEntryProcessor logDisplayFn, LogLevel logLevel)Instantiate this logger with the given log entry processor and given minimum logging levelInstantiate this logger with a single log entry processor = ILogEntryProcessor.DEFAULT and a minimum logging level of LogLevel.INFO