google / google/flogger

Improve documentation for slf4j usage

Open
#100 1 comment 1 reaction 1 assignee Claimed by @hagbard View on GitHub
P3 type=documentation type=enhancement
Dominant language
Java
Stars
1.5k
Forks
133
Avg merge
6m
Merged PRs (30d)
7

Description

Maybe I missed it, but had rally hard time integrating slf4js. I added correct dependencies, but default logger factory was used.

After debugging and diggind through source, I found out that I need to add system property:
`-Dflogger.backend_factory=com.google.common.flogger.backend.slf4j.Slf4jBackendFactory#getInstance`

I have not found mention of this anywhere. I would be nice to have it mentioned in the docs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.