Skip to content

Commit 6ae936e

Browse files
committed
Updated README
1 parent afd1555 commit 6ae936e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ libraryDependencies += "com.outr" %% "scribe-slf4j" % "3.10.6"
4747
scribe.info("Yes, it's that simple!")
4848
```
4949

50+
### SBT Tip
51+
Using the default logger in Scribe supports auto-line wrapping, but in SBT, the `[info]` prefixes cause that to get
52+
messed up. It's recommended to set:
53+
```sbt
54+
outputStrategy := Some(StdoutOutput)
55+
```
56+
This will disable the `[info]` and `[error]` prefixes so logging looks correct when running your application within SBT.
57+
5058
## Why Another Logging Framework
5159

5260
Yes, we know there are too many Java logging frameworks to count, and a large number of decent logging frameworks in

docs/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ libraryDependencies += "com.outr" %% "scribe-slf4j" % "@VERSION@"
4747
scribe.info("Yes, it's that simple!")
4848
```
4949

50+
### SBT Tip
51+
Using the default logger in Scribe supports auto-line wrapping, but in SBT, the `[info]` prefixes cause that to get
52+
messed up. It's recommended to set:
53+
```sbt
54+
outputStrategy := Some(StdoutOutput)
55+
```
56+
This will disable the `[info]` and `[error]` prefixes so logging looks correct when running your application within SBT.
57+
5058
## Why Another Logging Framework
5159

5260
Yes, we know there are too many Java logging frameworks to count, and a large number of decent logging frameworks in

0 commit comments

Comments
 (0)