simple-odf | Create OpenDocument text files with pure JavaScript | Document Editor library
kandi X-RAY | simple-odf Summary
kandi X-RAY | simple-odf Summary
Create OpenDocument text files with pure JavaScript
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of simple-odf
simple-odf Key Features
simple-odf Examples and Code Snippets
Community Discussions
Trending Discussions on simple-odf
QUESTION
There are several questions on this subject but none that I could find relates to the Groovy @Slf4j
"AST" annotation. Which on the face of it is not just convenient but gives you conditional execution of stuff depending on log level.
In my book, Groovy in Action, it says:
Injects an Slf4j logger as a static final org.slf4j.Logger into your class and initializes it using org.slf4j.LoggerFactory.getLogger(class) . The LogBack framework uses SLF4J as the underlying logger, so LogBack users should use @Slf4j
And that's what I'm doing. I've got this in my gradle.build
...ANSWER
Answered 2018-Feb-19 at 08:15This error message you see in the console has actually nothing to do with @Slf4j
annotation used in your code - it just simplifies adding log
field to your class. Your problem is caused by multiple org.slf4j.impl.StaticLoggerBinder
classes found in your classpath. To fix it you have to firstly check your dependencies tree using:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install simple-odf
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page