mattroberts297 / slf4s Goto Github PK
View Code? Open in Web Editor NEWA Simple Logging Facade for Scala
Home Page: http://slf4s.org/
License: MIT License
A Simple Logging Facade for Scala
Home Page: http://slf4s.org/
License: MIT License
I'm using slf4s 1.1.7.
I want to do like this:
s"Pushing data to $url: $json"
s"Pushing data to $url"
Because isTraceEnabled
is not exposed, currently I can't do the above.
Please expose isTraceEnabled
etc.
Hi, can you release a version for Scala 2.13 please?
When I call
log.info(s"$xxx($args)")
it got an error in compile. So how can I call a method in the log string?
Hello team!
I noticed that your Logging trait takes parameters by value, so they're evaluated before if (loggingLevelEnabled)
statement.
It would be nice to change signature of logging methods to something like info(msg: => String): Unit
This would be really useful because even string interpolation would be evaluated only when if statement passed
Please update:
http://www.slf4j.org/download.html
Plase publish Scaladoc (to GitHub Pages?).
slf4j-api 1.7.13 released:
http://www.slf4j.org/download.html
The README still says about Logback 1.1.1.
I'm getting this on Scala 2.12.0 and sbt 0.13.13:
error] Exception in thread "main" java.lang.NoSuchMethodError: org.slf4s.Logging.$init$(Lorg/slf4s/Logging;)V
[error] at syncgtd.Main$.<init>(Main.scala:5)
[error] at syncgtd.Main$.<clinit>(Main.scala)
[error] at syncgtd.Main.main(Main.scala)
java.lang.RuntimeException: Nonzero exit code returned from runner: 1
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) Nonzero exit code returned from runner: 1
Same code works perfectly on 2.11.8
For example:
https://travis-ci.org/mattroberts297/slf4s.svg?branch=2.11
Instead of:
https://travis-ci.org/mattroberts297/slf4s.png?branch=master
As of SLF4J version 1.5.3, SLF4J Logger instances survive serialization - which is especially useful when using tools like Apache Spark.
Please can Logger in slf4s also be made serializable in the next release?
Can you possibly also publish the 2.9.x version? Currently only the 2.10.x and 2.11.x versions are available on Sonatype.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.