Anjay Lite
Loading...
Searching...
No Matches
log_impl_decls.h
Go to the documentation of this file.
1/*
2 * Copyright 2023-2026 AVSystem <avsystem@avsystem.com>
3 * AVSystem Anjay Lite LwM2M SDK
4 * All rights reserved.
5 *
6 * Licensed under AVSystem Anjay Lite LwM2M Client SDK - Non-Commercial License.
7 * See the attached LICENSE file for details.
8 */
9
10#include <anj/init.h>
11
27#ifndef ANJ_LOG_LOG_IMPL_DECLS_H
28# define ANJ_LOG_LOG_IMPL_DECLS_H
29
30# include <stdarg.h>
31# include <stddef.h>
32# include <stdint.h>
33
34# ifdef __cplusplus
35extern "C" {
36# endif
37
55
72 const char *module,
73 const char *file,
74 int line,
75 const char *format,
76 ...);
93 uint16_t source_file_id,
94 uint16_t line,
95 const char *format,
96 ...);
97
109void anj_log_handler_output(const char *output, size_t len);
110
111# ifdef __cplusplus
112}
113# endif
114
115#endif // ANJ_LOG_LOG_IMPL_DECLS_H
Global configuration validation header for Anjay Lite.
void anj_log_handler_impl_micro(anj_log_level_t level, uint16_t source_file_id, uint16_t line, const char *format,...)
void anj_log_handler_impl_full(anj_log_level_t level, const char *module, const char *file, int line, const char *format,...)
anj_log_level_t
Definition log_impl_decls.h:47
@ ANJ_LOG_LEVEL_L_TRACE
Definition log_impl_decls.h:48
@ ANJ_LOG_LEVEL_L_INFO
Definition log_impl_decls.h:50
@ ANJ_LOG_LEVEL_L_MUTED
Definition log_impl_decls.h:53
@ ANJ_LOG_LEVEL_L_WARNING
Definition log_impl_decls.h:51
@ ANJ_LOG_LEVEL_L_DEBUG
Definition log_impl_decls.h:49
@ ANJ_LOG_LEVEL_L_ERROR
Definition log_impl_decls.h:52
void anj_log_handler_output(const char *output, size_t len)