A small ppx that adds source code location to your Logs
calls.
[%logs "const info"];
[%logs.err "const error #%d" 1]
Will be transformed into
Logs.info (fun m_1000 -> m_1000 "test/example.ml:6 const info");
Logs.err (fun m_1001 -> m_1001 "test/example.ml:7 const error #%d" 1)
For other examples look test/example.ml or test/test_ppx.ml
opam pin ppx_logs -k git git+https://github.com/nightblues/ppx_logs.git