Uses of Class
io.github.pimak.ntfy.log4j2.NtfyLog4j2Appender
Packages that use NtfyLog4j2Appender
-
Uses of NtfyLog4j2Appender in io.github.pimak.ntfy.log4j2
Methods in io.github.pimak.ntfy.log4j2 that return NtfyLog4j2AppenderMethods in io.github.pimak.ntfy.log4j2 that return types with arguments of type NtfyLog4j2AppenderModifier and TypeMethodDescriptionstatic Optional<NtfyLog4j2Appender> NtfyLog4j2Installer.install()Installs on the currentLoggerContext(LoggerContext.getContext(false)— the caller's context, without forcing initialization of a new one).static Optional<NtfyLog4j2Appender> NtfyLog4j2Installer.install(org.apache.logging.log4j.core.LoggerContext context) Resolves the ambient config and, when active and vetted, attaches a startedNtfyLog4j2Appendertocontext's root logger atLevel.ERROR.Methods in io.github.pimak.ntfy.log4j2 with parameters of type NtfyLog4j2AppenderModifier and TypeMethodDescriptionstatic voidNtfyLog4j2Installer.uninstall(org.apache.logging.log4j.core.LoggerContext context, NtfyLog4j2Appender appender) ReversesNtfyLog4j2Installer.install(LoggerContext): deregisters the reconfiguration listener, detaches the appender from the root logger by name, refreshes the loggers and stops the appender (which flushes any pending digest and drains the async queue).