Skip to content

Commit

Permalink
doc: Add %pBD print formatter to doc
Browse files Browse the repository at this point in the history
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
  • Loading branch information
donaldsharp authored and chiragshah6 committed Oct 27, 2020
1 parent ccb35ab commit caf3f45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/developer/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ Extensions
+-----------+--------------------------+----------------------------------------------+
| ``%pNHs`` | ``struct nexthop *`` | ``1.2.3.4 if 15`` |
+-----------+--------------------------+----------------------------------------------+
| ``%pFX`` + ``struct bgp_dest *`` | ``fe80::1234/64`` available in BGP only |
+-----------+--------------------------+----------------------------------------------+
Printf features like field lengths can be used normally with these extensions,
e.g. ``%-15pI4`` works correctly.
Expand Down

0 comments on commit caf3f45

Please sign in to comment.