logger: Add native backend for native_posix
Add backend to be used in native_posix arch. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
ba5476a2a0
commit
e65ee6870e
6 changed files with 111 additions and 3 deletions
21
include/logging/log_backend_native_posix.h
Normal file
21
include/logging/log_backend_native_posix.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Copyright (c) 2018 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#ifndef LOG_BACKEND_NATIVE_POSIX_H
|
||||
#define LOG_BACKEND_NATIVE_POSIX_H
|
||||
|
||||
#include <logging/log_backend.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern const struct log_backend_api log_backend_native_posix_api;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* LOG_BACKEND_NATIVE_POSIX_H */
|
Loading…
Add table
Add a link
Reference in a new issue