DefaultLoggerFactory.setModuleLevelPrefix

Sets the logging level for a given module prefix. This is a convenience wrapper around setModuleLevel, which simply prepares a regular expression that matches the beginning of a logger's module (or name) with the given modulePrefix.

class DefaultLoggerFactory
void
setModuleLevelPrefix
(,
Level level
)

Parameters

modulePrefix string

The module's prefix.

level Level

The logging level to apply to Loggers whose name matches the given module prefix.

Meta