No vendor lock-inĮven though the Log4j API is implemented by the Log4j at its fullest, users can choose to use another logging backend. MDC/NDC), etc.Ĭheck out the Java API, Kotlin API, and Scala API pages for further information. The Log4j API also provides the most feature rich logging facade in the market support for various Message types ( Object, Map, etc.) besides plain String, lambda expressions, parametrized logging, markers, levels, diagnostic contexts (aka. The API for Log4j (i.e., log4j-api) is separate from the implementation (i.e., log4j-core) making it clear for application developers which classes and methods they can use while ensuring forward compatibility. Lookups for accessing system properties, environment variables, log event fields, etc. formatted outputsįilters that can be configured using log event rates, regular expressions, scripts, time, etc. Layouts that can render CSV, HTML, JSON, Syslog, etc. Appenders targeting files, network sockets, databases, SMTP servers, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |