浏览代码

Merge pull request #404 from lucafavatella/error-logger-metadata

Document placeholders introduced by error logger integration
pull/163/merge
Mark Allen 8 年前
提交者 GitHub
父节点
当前提交
73cb9b7f86
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      README.md

+ 2
- 0
README.md 查看文件

@ -216,6 +216,8 @@ call "semi-iolist":
single letter encoding of the severity level (e.g. `'debug'` -> `$D`) single letter encoding of the severity level (e.g. `'debug'` -> `$D`)
* The placeholders `pid`, `file`, `line`, `module`, `function`, and `node` * The placeholders `pid`, `file`, `line`, `module`, `function`, and `node`
will always exist if the parse transform is used. will always exist if the parse transform is used.
* If the error logger integration is used, the placeholder `pid`
will always exist and the placeholder `name` may exist.
* Applications can define their own metadata placeholder. * Applications can define their own metadata placeholder.
* A tuple of `{atom(), semi-iolist()}` allows for a fallback for * A tuple of `{atom(), semi-iolist()}` allows for a fallback for
the atom placeholder. If the value represented by the atom the atom placeholder. If the value represented by the atom

正在加载...
取消
保存