Package io.github.pimak.ntfy.log4j2
package io.github.pimak.ntfy.log4j2
-
ClassesClassDescriptionA thin log4j2
AbstractAppendershell over the framework-neutralAlertEngine, exposed tolog4j2.xmlas the<Ntfy .../>element.Plugin builder for the<Ntfy .../>element.Programmatic one-liner install of the ntfy log4j2 appender from the ambient environment:NtfyLog4j2Installer.install()early inmainattaches a startedNtfyLog4j2Appenderto the root logger atLevel.ERRORwhen the environment configures ntfy (NTFY_URL/NTFY_TOPIC,-Dntfy.*, or a trusted classpathntfy.properties— seeLog4j2AmbientConfigfor the classpath-endpoint opt-in guard), and does nothing otherwise.