Skip to content

Commit 0c82d79

Browse files
committed
reword slf4j usage for #229
1 parent c8b622b commit 0c82d79

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# <img height="30" width="30" alt="kotlin-logging" src="https://raw.githubusercontent.com/MicroUtils/kotlin-logging/master/misc/images/kotlin-logging.png"> [kotlin-logging](https://github.com/MicroUtils/kotlin-logging) [![CI](https://github.com/MicroUtils/kotlin-logging/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/MicroUtils/kotlin-logging/actions/workflows/ci.yml) [![Slack channel](https://img.shields.io/badge/Chat-Slack-blue.svg)](https://kotlinlang.slack.com/messages/kotlin-logging/) [![Maven Central](https://img.shields.io/maven-central/v/io.github.microutils/kotlin-logging.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.microutils%22) [![Apache License V.2](https://img.shields.io/badge/license-Apache%20V.2-blue.svg)](https://github.com/MicroUtils/kotlin-logging/blob/master/LICENSE)
22

33
Lightweight logging framework for Kotlin, written in [![Pure Kotlin](https://img.shields.io/badge/100%25-kotlin-blue.svg)](https://kotlinlang.org/).
4-
A convenient and performant logging library wrapping [slf4j](http://www.slf4j.org/) with Kotlin extensions.
4+
A convenient and performant logging facade.
5+
For jvm `kotlin-logging` is wrapping [slf4j](http://www.slf4j.org/) with Kotlin extensions.
6+
For other platforms `kotlin-logging` has various implementations. More details in the [wiki](https://github.com/MicroUtils/kotlin-logging/wiki/Multiplatform-support)
57

68
#### Call log methods, without checking whether the respective log level is enabled
79
```Kotlin
@@ -14,7 +16,7 @@ Behind the scenes the expensive message do not get evaluated if debug is not ena
1416
if (logger.isDebugEnabled) logger.debug("Some $expensive message!")
1517
```
1618

17-
#### Define the logger, without explicitly specifiying the class name
19+
#### Define the logger, without explicitly specifying the class name
1820
```Kotlin
1921
// Place definition above class declaration to make field static
2022
private val logger = KotlinLogging.logger {}

0 commit comments

Comments
 (0)