Comments (3)
Did not work in v3.6.6. Started working after updating to 3.11.8. Thank you.
from scribe.
You're clearly using a custom Formatter
that isn't including that. See this example:
object Test {
def main(args: Array[String]): Unit = {
val logger = Logger("testing")
logger.set("testData", "This is a test data!").info("Testing first!")
logger.info("Testing!")
}
}
from scribe.
I am using the following formatter:
formatter"[$dateFull] $levelColoredPaddedRight [$threadName] ${green(positionSimple)} - $message$mdc"
I ran your snippet
object Test {
def main(args: Array[String]): Unit = {
val logger = scribe.Logger("testing")
logger.set("testData", "This is a test data!").info("Testing first!")
logger.info("Testing!")
}
}
and get the following result:
2023.08.03 09:40:29:0000 main INFO com.superfund.exchange.research.kamilk.ScribeTests.main:46
Testing first!
2023.08.03 09:40:29:0001 main INFO com.superfund.exchange.research.kamilk.ScribeTests.main:47
Testing!
from scribe.
Related Issues (20)
- Unable to have minimumLevel=Info and only enable Trace for certain packages HOT 11
- Overriding the path for log files HOT 4
- Help: configure stdout/stderr in function of LogLevel HOT 15
- Compare perfomance with Chronicle-Logger HOT 2
- NPE when logging with SLF4J and Throwble == null HOT 4
- Different versions of scala-collection-compat pulled in transitively HOT 3
- AsynchronousLogHandle shutdown hook HOT 3
- MDC syntax improvement HOT 7
- Standardize JSON output ? HOT 3
- Is it safe to use MDC with cats-effect? HOT 5
- Logging stderr HOT 2
- ScribeCirceJsonSupport does not output stack traces for Exceptions HOT 2
- Minimal example for JSON logging: Is this okay? HOT 2
- Allow scribe.fatal HOT 2
- FormatBlock.Date.ISO8601 does not take offset into account HOT 12
- `scribe-slf4j` does not support `slf4j-api` 2.x and `scribe-slf4j18` does not exist HOT 4
- How to integrate with scala-play HOT 3
- Error on cross linking with scala 2.12.19
- Bump scala-collection-compat dependency to 2.12.0 (fix Scala Native 0.5 support) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribe.