This PR adds a formatting command {pterm, key, DefaultVal}.
This is meant for adding global things to the formatting string, which can be set once, on startup, rather than repeatedly stuffed into the pid-specific metadata. My particular use case is the OS pid, so it's easier to tell when, in the logs, a particular process restarted.
This PR adds a formatting command
{pterm, key, DefaultVal}
.This is meant for adding global things to the formatting string, which can be set once, on startup, rather than repeatedly stuffed into the pid-specific metadata. My particular use case is the OS pid, so it's easier to tell when, in the logs, a particular process restarted.