Skip to content

CaptureLog

Name - Description Default Type
<input>
<output> [String]
Size The maximum number of logs to retain. 8 Int
MinLevel The minimum level of logs to capture. "debug" String
Pattern The pattern used to format the logs. "%^[%l]%$ [%Y-%m-%d %T.%e] [T-%t] [%s::%#] %v" String
Suspend TODO. false Bool

Examples

1
2
3
4
5
6
(Msg "Hello shards!")
(CaptureLog
 :Size 24
 :MinLevel "info"
 :Pattern "%^[%l]%$ [%Y-%m-%d %T.%e] %v")
(ExpectStringSeq)
[info] [shards/General/CaptureLog/1.edn] Hello shards!