Package io.github.pimak.ntfy.jul
package io.github.pimak.ntfy.jul
-
ClassesClassDescriptionDeclarative zero-code entry point: name this class in a JUL
logging.properties—AHandlerthat forwards SEVERE-and-above (and, when a warn route is configured, WARNING)LogRecords to the ntfyAlertEngine.Programmatic one-liner install of the ntfy JUL handler from the ambient environment:NtfyJulInstaller.install()early inmainattaches aNtfyJulHandlerto the root logger when the environment configures ntfy (NTFY_URL/NTFY_TOPIC,-Dntfy.*, or a trusted classpathntfy.properties— seeJulAmbientConfigfor the classpath-endpoint opt-in guard), and does nothing otherwise.