summaryrefslogtreecommitdiffstats
path: root/lib/umberlog.rst
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2012-06-21 20:43:20 +0200
committerGergely Nagy <algernon@balabit.hu>2012-07-19 13:14:44 +0200
commit48c00e2a5edaaeebc94d8fa3193981cff2a39c44 (patch)
tree2f1fd779c3b42f545fb38d3242cd0f2e2fe5fa1c /lib/umberlog.rst
parent32e918922da9cecf4ebd9013fe64e57503ad44cc (diff)
downloadlibumberlog-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.rst3
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,