#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include "acc_definitions_common.h"
#include "acc_integration.h"
#include "acc_integration_log.h"
Go to the source code of this file.
◆ LOG_BUFFER_MAX_SIZE
#define LOG_BUFFER_MAX_SIZE 150 |
◆ LOG_FORMAT
#define LOG_FORMAT "%02u:%02u:%02u.%03u (%c) (%s) %s\n" |
◆ acc_integration_log()
void acc_integration_log |
( |
acc_log_level_t |
level, |
|
|
const char * |
module, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
Log function.
This log function can be used as a complement to for example printf. It adds useful information to the log such as time and log level
- Parameters
-
[in] | level | The severity level for the log |
[in] | module | The name of the SW module from where the log is called |
[in] | format | The information to be logged, same format as for printf |
Definition at line 21 of file acc_integration_log.c.