You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- SLF4J loggers and our Logger now survive serialization. By survive serialization, we mean that the
163
-
deserialized logger instances are fully functional.
164
-
165
129
## String Interpolation
130
+
166
131
It is idiomatic to use Scala's string interpolation `logger.error(s"log $value")` instead of SLF4J string interpolation `logger.error("log {}", value)`.
167
132
However there are some tools (such as [Sentry](https://sentry.io)) that use the log message format as grouping key. Therefore they do not work well with
This has no effect on behavior and performace should be comparable (depends on the underlying logging library).
181
146
182
147
### Limitations
148
+
183
149
- Works only when string interpolation is directly used inside the logging statement. That is when the log message is static (available at compile time).
184
150
- Works only for the `logger.<level>(message)` and `logger.<level>(marker, message)` logging methods. It does not work if you want to log an exception and
185
151
use string interpolation too (this is a limitation of the SLF4J API).
foo("hello") // the implicit sourcecode.File is filled in automatically
199
165
```
200
166
201
-
## Contribution policy ##
167
+
## Maintenance status
202
168
203
-
Contributions via GitHub pull requests are gladly accepted from their original author. Before we can accept pull requests, you will need to agree to the [Typesafe Contributor License Agreement](http://www.typesafe.com/contribute/cla) online, using your GitHub account.
169
+
This library is community-maintained. It is not supported under the Lightbend subscription.
204
170
205
-
## License ##
171
+
## Contribution policy
206
172
207
-
This code is open source software licensed under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).
173
+
Contributions via GitHub pull requests are gladly accepted from their original author. Before we can accept pull requests, you will need to agree to the [Lightbend Contributor License Agreement](https://www.lightbend.com/contribute/cla) online, using your GitHub account.
0 commit comments