diff options
author | Miloslav Trmač <mitr@redhat.com> | 2012-06-21 20:43:20 +0200 |
---|---|---|
committer | Gergely Nagy <algernon@balabit.hu> | 2012-07-19 13:14:44 +0200 |
commit | 48c00e2a5edaaeebc94d8fa3193981cff2a39c44 (patch) | |
tree | 2f1fd779c3b42f545fb38d3242cd0f2e2fe5fa1c /lib/umberlog.rst | |
parent | 32e918922da9cecf4ebd9013fe64e57503ad44cc (diff) | |
download | libumberlog-48c00e2a5edaaeebc94d8fa3193981cff2a39c44.tar.gz libumberlog-48c00e2a5edaaeebc94d8fa3193981cff2a39c44.tar.xz libumberlog-48c00e2a5edaaeebc94d8fa3193981cff2a39c44.zip |
Handle more types in printf()-like specifiers
Recognize more length modifiers. Document that positional parameters
are not supported (it should be possible, I'm just lazy :)).
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'lib/umberlog.rst')
-rw-r--r-- | lib/umberlog.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/umberlog.rst b/lib/umberlog.rst index d2cd354..704a5e3 100644 --- a/lib/umberlog.rst +++ b/lib/umberlog.rst @@ -57,7 +57,8 @@ the emitted message. After the *msg_format* format string, and any other parameters it refers to, there must be a NULL-terminated list of *key*, *value format*, *format parameters*. Each of these pairs, constructed from the *key* and the **printf(3)**-style *value format* -will be added to the generated message. +will be added to the generated message. Note that position specifiers +(e.g. **%2$**) are not currently supported. **ul_format()** and **ul_vformat()** do the same as the syslog variants above, except the formatted payload is not sent to syslog, |