Skip to content

Commit 1e289c6

Browse files
author
Mathias Bogaert
committed
README updates. [ci skip]
1 parent 7ac2cb5 commit 1e289c6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
Scala Logging is a **convenient** and **performant** logging library wrapping [SLF4J](http://www.slf4j.org).
44

5-
It's convenient, because you can simply call log methods without checking whether the respective log level is enabled:
5+
It's convenient, because you can simply call log methods, *without* checking whether the respective log level is enabled:
66

77
```scala
88
logger.debug(s"Some $expensive message!")
99
```
1010

11-
It's performant, because thanks to Scala macros the *check-enabled-idiom* is applied, just like writing this more involved code:
11+
It's performant, because thanks to Scala macros the *check-enabled-idiom* is applied and the following code is generated:
1212

1313
```scala
1414
if (logger.isDebugEnabled) logger.debug(s"Some $expensive message!")
@@ -20,11 +20,10 @@ if (logger.isDebugEnabled) logger.debug(s"Some $expensive message!")
2020
* Scala 2.11 or 2.12
2121
* Logging backend compatible with SLF4J
2222

23-
One logging backend can be [Logback](http://logback.qos.ch), you can add it to your sbt build definition (the most
24-
recent version can be found here: http://logback.qos.ch/download.html):
23+
A compatible logging backend is [Logback](http://logback.qos.ch), add it to your sbt build definition:
2524

2625
```scala
27-
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.7"
26+
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.7"
2827
```
2928

3029
If you are looking for a version compatible with Scala 2.10, check out Scala Logging 2.x.

0 commit comments

Comments
 (0)