slf4d.noop_provider

An SLF4D logging provider that simply discards all log messages. This can be used during testing, if you'd like to suppress expected log messages.

Members

Classes

NoOpProvider
class NoOpProvider

The no-op provider class. This provider defines a logger factory that produces Loggers whose handler discards any log messages sent to them.

Variables

NO_OP_LEVEL
Level NO_OP_LEVEL;

A custom logging level that's beyond any other level, to short-circuit logger logic right away and have it discard log messages.