SignalLogger
A library for signal logging.
Log Script

File structure

The log script lists all elements that were added to the logger. It can also define (optional) changes from the default configuration of the logger element. We use YAML as a file format.

Example:

1 log_elements:
2  - name: /myLoggerNamespace/myGroup1/myDataA
3  enabled: true
4  divider: 1
5  buffer:
6  type: 0
7  size: 5
8  action: 0
9  - name: /myLoggerNamespace/myGroup1/myDataB
10  enabled: false
11  buffer:
12  type: 1
13  size: 50
14  action: 1
15  - name: /myLoggerNamespace/myGroup2/myDataC
16  enabled: true
17  divider: 5
18  action: 2
19  - name: /myLoggerNamespace/myGroup2/myDataD
20  enabled: false
21  divider: 10
22  buffer:
23  type: 1
24  size: 100

The values for buffer:type: corresponds to the integer value of the signal_logger::BufferType. Same applies to action: and signal_logger::LogElementAction.