Skip to content

Commit 0cc19e9

Browse files
committed
update docs
1 parent df71405 commit 0cc19e9

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Next version
22

3+
# 2.0.8
4+
5+
* Publish to maven central directly [#177](https://github.com/MicroUtils/kotlin-logging/issues/177).
6+
37
# 2.0.7
48

59
* Support optional/nullable values for MDC [#172](https://github.com/MicroUtils/kotlin-logging/issues/172).

README.md

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# <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) [![Build Status](https://travis-ci.org/MicroUtils/kotlin-logging.png?branch=master)](https://travis-ci.org/MicroUtils/kotlin-logging) [![Slack channel](https://img.shields.io/badge/Chat-Slack-blue.svg)](https://kotlinlang.slack.com/messages/kotlin-logging/) [ ![Download](https://api.bintray.com/packages/microutils/kotlin-logging/kotlin-logging/images/download.svg) ](https://bintray.com/kotlin-logging/kotlin-logging/kotlin-logging/_latestVersion) [![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)
1+
# <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) [![Build Status](https://travis-ci.com/MicroUtils/kotlin-logging.png?branch=master)](https://travis-ci.com/MicroUtils/kotlin-logging) [![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/).
44
A convenient and performant logging library wrapping [slf4j](http://www.slf4j.org/) with Kotlin extensions.
@@ -58,7 +58,7 @@ In short, if you just want to log statements to stdout, it's possible to add the
5858
<dependency>
5959
<groupId>io.github.microutils</groupId>
6060
<artifactId>kotlin-logging-jvm</artifactId>
61-
<version>2.0.6</version>
61+
<version>2.0.8</version>
6262
</dependency>
6363
```
6464
or
@@ -73,7 +73,7 @@ See the full example in [kotlin-logging-example-maven](https://github.com/MicroU
7373

7474
### Gradle
7575
```Groovy
76-
implementation 'io.github.microutils:kotlin-logging-jvm:2.0.6'
76+
implementation 'io.github.microutils:kotlin-logging-jvm:2.0.8'
7777
```
7878
or
7979
```Groovy
@@ -95,20 +95,6 @@ Therefore, for jvm library owners it is still recommended to use 1.x, as for the
9595
An experimental common & JS & linux-x64 support is available.
9696
More information is available on the [wiki](https://github.com/MicroUtils/kotlin-logging/wiki/Multiplatform-support) and issues [#21](https://github.com/MicroUtils/kotlin-logging/issues/21) [#45](https://github.com/MicroUtils/kotlin-logging/issues/45).
9797

98-
99-
### Snapshot builds
100-
To get the latest non-stable version of kotlin logging use the following gradle configuration:
101-
```Groovy
102-
repositories {
103-
maven { url 'https://oss.jfrog.org/artifactory/oss-snapshot-local' }
104-
}
105-
106-
dependencies {
107-
implementation('io.github.microutils:kotlin-logging-jvm:2.0.0-SNAPSHOT')
108-
}
109-
```
110-
* The latest snapshot version can be seen in [build.gradle.kts](https://github.com/MicroUtils/kotlin-logging/blob/master/build.gradle.kts) and in [artifactory](https://oss.jfrog.org/artifactory/webapp/#/artifacts/browse/tree/General/oss-snapshot-local/io/github/microutils/kotlin-logging).
111-
11298
## Overview
11399

114100
After seeing many questions like [Idiomatic way of logging in Kotlin](http://stackoverflow.com/questions/34416869/idiomatic-way-of-logging-in-kotlin) and [Best practices for loggers](https://discuss.kotlinlang.org/t/best-practices-for-loggers/226/15), it seems like there should be a standard for logging and obtaining a logger in Kotlin. kotlin-logging provides a wrapper for slf4j-api to be used by Kotlin classes with the following advantages:
@@ -152,7 +138,6 @@ It is possible to configure IntelliJ live templates. For file level logger confi
152138

153139
## More links
154140

155-
- kotlin-logging is hosted on [bintray](https://bintray.com/microutils/kotlin-logging/kotlin-logging/view) and [maven central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.microutils%22).
156141
- https://medium.com/@OhadShai/logging-in-kotlin-95a4e76388f2
157142
- [kotlin-logging vs AnkoLogger for Android](https://medium.com/@OhadShai/logging-in-android-ankologger-vs-kotlin-logging-bb693671442a)
158143
- [How kotlin-logging was published](https://medium.com/@OhadShai/no-forks-one-star-now-what-how-i-published-my-open-source-projects-8a5b5ae35d2c#.e3ygj6uf3)

0 commit comments

Comments
 (0)