Commit 1aabb5cc authored by Adam Wujek's avatar Adam Wujek 💬 Committed by Alessandro Rubini

doc: elaborate information how to enable diagnostics in ppsi

Add information to section "Diagnostic Macros" that diagnostics can be enabled
by specifying proper string after -d switch in command line or by "diagnostics"
option in configuration file.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 86fdf30c
......@@ -589,8 +589,9 @@ and frames at level 2. The header itself is more detailed about
the conventions.
To parse the diagnostic string, PPSi offers @i{pp_diag_parse}. The
function is used by both the code that reads the command line
and code that parses configuration.
function is used by both the code that reads the command line (string after
@t{-d} switch)
and code that parses configuration (@t{diagnostics} option in config file).
Within PPSi, developers should insert diagnostic messages by means
of the @i{pp_diag} function:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment