Go to the source code of this file.
|
| function | log_entry (in msg, in ptp_num, in level, in trial) |
| | log entry to a log file
|
| |
◆ log_entry()
| function log_entry |
( |
in | msg, |
|
|
in | ptp_num, |
|
|
in | level, |
|
|
in | trial ) |
log entry to a log file
this function logs an entry to a log file.
- Parameters
-
| msg | message to log |
| ptp_num | participant number (default: 0) |
| level | log level (default: 4) |
- Return values
-
- Note
- log levels:
- 1: FATAL
- 2: ERROR
- 3: WARNING
- 4: INFO
- 5: DEBUG
- Copyright
- see the file LICENSE in the root directory of the repository