Module is.codion.swing.common.model
Interface LoggingLevelModel
public interface LoggingLevelModel
A model for configuring logging levels for discovered Codion modules.
The default implementation discovers Codion modules from the module layer (JPMS) or classpath and presents them in a table for logging level configuration. The ROOT logger is not included, as it is typically configured separately via application-level logging controls.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDefines the columns in the logging level table.static interfaceRepresents a row in the logging level table. -
Method Summary
Modifier and TypeMethodDescriptionvoidApplies any modified log levels to the underlying logging system.static LoggingLevelModel
-
Method Details
-
tableModel
- Returns:
- the table model containing logger names and their log levels
-
logLevelComboBoxModel
FilterComboBoxModel<Object> logLevelComboBoxModel()- Returns:
- a combo box model containing the available log levels
-
applyChanges
void applyChanges()Applies any modified log levels to the underlying logging system. This method should be called after the user has finished editing log levels. -
loggingLevelModel
- Returns:
- a new
LoggingLevelModelinstance
-