Skip to content

Instantly share code, notes, and snippets.

@hiredman
Created March 2, 2021 19:16
Show Gist options
  • Save hiredman/3443693c5994a8b0bb0a41f068107abd to your computer and use it in GitHub Desktop.
Save hiredman/3443693c5994a8b0bb0a41f068107abd to your computer and use it in GitHub Desktop.
thursday=> (info "foo")
#:log{:z "2021-03-02T19:12:51.470Z" :v :info :n thursday :l 1 :m "foo"}
nil
thursday=> (info "foo" {::a 1})
#:log{:z "2021-03-02T19:13:06.505Z" :v :info :n thursday :l 1 :m "foo" :thursday/a 1}
nil
thursday=> (info "foo" (Exception.))
#:log{:z "2021-03-02T19:15:19.396Z" :v :info :n thursday :l 1 :m "foo" :thrown
#error {
:cause nil
:via
[{:type java.lang.Exception
:message nil
:at [thursday$eval544 invokeStatic "NO_SOURCE_FILE" 1]}]
:trace
[[thursday$eval544 invokeStatic "NO_SOURCE_FILE" 1]
[thursday$eval544 invoke "NO_SOURCE_FILE" 1]
[clojure.lang.Compiler eval "Compiler.java" 7177]
[clojure.lang.Compiler eval "Compiler.java" 7132]
[clojure.core$eval invokeStatic "core.clj" 3214]
[clojure.core$eval invoke "core.clj" 3210]
[clojure.main$repl$read_eval_print__9086$fn__9089 invoke "main.clj" 437]
[clojure.main$repl$read_eval_print__9086 invoke "main.clj" 437]
[clojure.main$repl$fn__9095 invoke "main.clj" 458]
[clojure.main$repl invokeStatic "main.clj" 458]
[clojure.main$repl_opt invokeStatic "main.clj" 522]
[clojure.main$main invokeStatic "main.clj" 667]
[clojure.main$main doInvoke "main.clj" 616]
[clojure.lang.RestFn invoke "RestFn.java" 397]
[clojure.lang.AFn applyToHelper "AFn.java" 152]
[clojure.lang.RestFn applyTo "RestFn.java" 132]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.main main "main.java" 40]]}}
nil
thursday=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment