diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-05-23 19:16:21 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-19 16:26:47 -0400 |
commit | 49e661750ceed68ada3f3ae00d6d1620800c1f5f (patch) | |
tree | 4dd9ae109b41aa488b360d36e52f7deb2ee02782 /src/example/example.yaml | |
parent | 3ce5c484aa9d25927b106f9bd3f819ec861176ad (diff) | |
download | phosphor-dbus-monitor-49e661750ceed68ada3f3ae00d6d1620800c1f5f.tar.gz phosphor-dbus-monitor-49e661750ceed68ada3f3ae00d6d1620800c1f5f.zip |
Add callback groups
Allow named collections of callbacks to be defined and used anywhere
callbacks are used.
Change-Id: I3224aa06b2250e9a055bc70d20c186caecd033af
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/example/example.yaml')
-rw-r--r-- | src/example/example.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/example/example.yaml b/src/example/example.yaml index 171aeaa..0f286dc 100644 --- a/src/example/example.yaml +++ b/src/example/example.yaml @@ -74,3 +74,22 @@ properties: example property group severity: INFO message: Hello world from PDM! + +- name: example callback group + description: > + 'Callbacks groups are simply named collections of other callbacks. + Configuration file directives can only refer to a single callback. + Through use of a group, these configuration file directives can + refer to more than one callback. + + For example for a given event, one may wish to trace multiple + messages to the systemd journal. The journal callback does not + support tracing multiple messages. To do that, define a callback + group composed of multiple journal callbacks. + + This example callback group only has one member. To add more, add + additional callbacks to the members element.' + class: callback + callback: group + members: + - example journal callback |