{"repo":"jcabi/jcabi-log","free":true,"listed":false,"github":"https://github.com/jcabi/jcabi-log","clone":"git clone https://github.com/jcabi/jcabi-log.git","description":"Static Wrapper of SLF4J easing you from the necessity to create static LOGGER instances in each Java class","language":"Java","stars":67,"topics":["slf4j","java","logging","logger"],"license":null,"category":"analytics","readme_excerpt":"More details are here: log.jcabi.com Read this blog post: Get Rid of Java Static Loggers Logger is a convenient static wrapper of slf4j (don't forget to include one of SLF4J Bindings into the project): Besides standard %s placeholders inside the format string, you can use other custom ones, which help formatting common values faster: %[file]s --- absolute file name ➜ file name relative to current directory %[text]s --- any string ➜ pretty looking text, short enough, and escaped %[exception]s --- Exception ➜ stacktrace %[list]s --- Iterable ➜ pretty formatted list, in one line %[size]s --- size in bytes ➜ Kb, Mb, Gb, Tb, and so on %[ms]s --- milliseconds ➜ ms, sec, min, hours, etc. %[nano]s --- nanoseconds ➜ µs, ms, sec, min, hours, etc. %[type]s --- Class ➜ name of it %[secret]s --- any string ➜ stars %[dom]s --- org.w3c.domDocument ➜ pretty printed/formatted XML You are welcome to suggest your own \"decors\". How to contribute? Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the master branch, if they look correct. Please run Maven build before submitting a pull request:","default_branch":null,"files":null,"tree":[],"storefront":"/r/jcabi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jcabi/jcabi-log/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}