{"repo":"LukynkaCZE/PrettyLog","free":true,"listed":false,"github":"https://github.com/LukynkaCZE/PrettyLog","clone":"git clone https://github.com/LukynkaCZE/PrettyLog.git","description":"Kotlin logging library that makes your logs look more ✨ 𝙥𝙧𝙚𝙩𝙩𝙮 ✨","language":"Kotlin","stars":34,"topics":["kotlin","logging","logging-library","pretty"],"license":"MIT","category":"analytics","readme_excerpt":"🌈 PrettyLog ✨ A Kotlin logging library focused on readability in console. PrettyLog takes advantage of ANSI color codes to make your logs look ✨ pretty ✨. Installation As of 2.0, PrettyLog supports the following targets: - jvm (Java 21) - mingwx64 (Windows) - macosx64 - macosarm64 - linuxx64 - linuxarm64 Supporting both Kotlin/JVM and Kotlin/Native Kotlin Logging Logging is very easy, just call the log(message, type) method. type parameter is optional and defaults to RUNTIME . Add LoggerFileWriter.load() to your main function if you want logs to be saved. You can also log exceptions! Logger Settings You can change settings by simply setting LoggerSettings. to its new value Log Types There are 16 log types by default: You can make custom log types by making your own LogType instance. Everything from the prefix background color, text color to the actual message text color is customizable There is also DynamicLogPrefix which has field for text supplier instead of static string. You may alternatively use simpler version of this for class-specific logger by referencing the class in the constructor: Loggers with custom prefixes You can add multiple prefixes to a custom logger. For example, we can add \"Inbound\" prefix and a \"Proxy\" for better understanding what is being logged and from where Implementations in other languages - C#: https://github.com/dalibor-osu/PrettyLogSharp by dalibor-osu","default_branch":null,"files":null,"tree":[],"storefront":"/r/LukynkaCZE","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LukynkaCZE/PrettyLog/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."}