Add support for new API's log_backend_format_set and log_format_set_all_active_backends to switch the logging format for one backend and for all the active backends respectively. Using format_set function pointer in log_backend_api struct as a hook to set the log format at runtime in the backends. Add function pointer table with helper functions to be used as a way to select log format. Add supported log format types as macros to use with the API. Signed-off-by: Aastha Grover <aastha.grover@intel.com> |
||
|---|---|---|
| .. | ||
| log_backend_std.h | ||
| log_backend.h | ||
| log_core.h | ||
| log_ctrl.h | ||
| log_frontend.h | ||
| log_instance.h | ||
| log_internal.h | ||
| log_msg2.h | ||
| log_msg.h | ||
| log_output_dict.h | ||
| log_output.h | ||
| log.h | ||