A subprocess interface for Scala
Blindsight is a Scala logging API with DSL based structured logging, fluent logging, semantic logging, flow logging, and context aware logging.
Java Structured Logging API for Logback, Log4J2, and JUL
Play memory allocation rate and GC events as sine wave and percussion, respectively.
Object capability (ocap) tools and macros for Scala.
Debug JSSE Provider
tersesystems/terse-logback-showcase 8
An example Play project showing terse-logback
tersesystems/dynamic-debug-logging 3
Docker Compose PoC showing dynamic debug logging in the cloud using a structured logging framework.
tersesystems/echopraxia-plusscala 3
Scala API for Echopraxia
tersesystems/echopraxia-plusakka 2
Akka extensions for Echopraxia
issue commenttersesystems/blindsight
`log.isXXXEnabled()` causes allocation overhead
It's assigned to a val.
https://github.com/tersesystems/blindsight/blob/8bd69d5a164420dece13809049d10f4401453dad/api/src/main/scala/com/tersesystems/blindsight/slf4j/SLF4JLogger.scala#L53
Please see https://tersesystems.github.io/blindsight/performance/memory.html and https://tersesystems.github.io/blindsight/performance/benchmarks.html and I also wrote a couple of blog posts:
- https://tersesystems.com/blog/2020/07/09/logging-vs-memory/
- https://tersesystems.com/blog/2020/08/23/benchmarking-logging-with-jdk-14/
comment created time in a month
issue closedtersesystems/blindsight
Logger eagerly evaluates the message before checking the log level
With log level set to INFO
, the following snippet
logger.debug({ println("this should not be printed"); ""})
prints
this should not be printed
This is arguably an undesired behavior. Compare with https://github.com/lightbend-labs/scala-logging, where you can call log methods, without checking whether the respective log level is enabled.
closed time in a month
kamilklochissue commenttersesystems/blindsight
Logger eagerly evaluates the message before checking the log level
The first argument is an argument template, which takes a static string -- if you want to render an argument as the only thing in the template, you would typically do it using logger.debug("{}", Arguments("foo"))
.
You can use lazy blocks for preference:
logger.debug { debug =>
val debugInfo = ...
debug(st"I am a debugging statement with lots of extra $debugInfo")
}
comment created time in a month
issue commenttersesystems/blindsight
Source code is enabled by setting <property name="blindsight.source.enabled" value="true" scope="context"/>
in a logback.xml file https://tersesystems.github.io/blindsight/usage/sourcecode.html
comment created time in a month
push eventtersesystems/echopraxia
commit sha 5bb9d7f9ca23cf92b5f225586c779b41b7a28f44
3.2.0-snapshot (#310)
push time in 2 months
push eventtersesystems/echopraxia
commit sha 3555b6643a6701b045b4b7fb1eb632c16452e19d
Update logger context (#309)
push time in 2 months
push eventtersesystems/echopraxia
commit sha f706cebb625cad366c7cae9d186b330be1ce238c
fmt
push time in 2 months
push eventtersesystems/echopraxia
commit sha df6cc1a9ffc7d09bd5bc0cdd7974f3161fd43988
add tests
push time in 2 months
issue openedlogseq/logseq
Menu drop down cut does not work with code block
Search first
- [X] I searched and no similar issues were found
What Happened?
Cut using the menu drop down in Windows does not work in code blocks.
Reproduce the Bug
- Create a code block without any language specified using triple backtick
- Enter in several lines of text
- Select a line of text, and right click
- Select cut from menu popup
Expected Behavior
Should remove line of text.
Screenshots
Not applicable
Desktop or Mobile Platform Information
App Version: 0.9.10 Git Revision: 16c472b Platform: Mozilla/5.0 (Windows NT 10.0 Win64 x64) AppleWebKit/537.36 (KHTML like Gecko) Logseq/0.9.10 Chrome/104.0.5112.124 Electron/20.3.8 Safari/537.36 Language: en-US
Additional Context
I think this is probably because the nested editing in code blocks doesn't quite work.
Are you willing to submit a PR? If you know how to fix the bug.
- [X] I'm willing to submit a PR (Thank you!)
created time in 2 months
push eventtersesystems/echopraxia-plusscala
commit sha 5171c676505e2bfd554e2481ae4ec46d2b909998
Delete metals.sbt
push time in 2 months
push eventtersesystems/echopraxia-plusscala
commit sha 6f8ef70bc9cb2d17a715f0c0905ddd919f1194c2
Delete metals.sbt
push time in 2 months
push eventtersesystems/echopraxia-plusscala
commit sha fdca37f9e3969c36da79b3bfc978c78d316adbed
Delete metals.sbt
push time in 2 months
push eventtersesystems/echopraxia
commit sha e020bb81532f0315246902d9bcc04ebe52dcc6f4
Publish 3.1.0 documentation
push time in 2 months
created tagtersesystems/echopraxia
Java Structured Logging API for Logback, Log4J2, and JUL
created time in 2 months
push eventtersesystems/echopraxia
commit sha b1cdf5cbd3dc9ded2353154c3cb0748a943307b2
Prep for 3.1.0 (#308)
push time in 2 months
push eventtersesystems/echopraxia
commit sha 6062cfa5d6a1edecdd619304e4a5c00b098fb3aa
Add `withToStringFormat` to presentation field (#307)
push time in 2 months