Home
last modified time | relevance | path

Searched refs:log_output (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-Core-3.5.0/include/zephyr/logging/
Dlog_output.h93 struct log_output { struct
109 typedef void (*log_format_func_t)(const struct log_output *output,
126 static const struct log_output _name = { \
142 void log_output_msg_process(const struct log_output *log_output,
158 void log_output_process(const struct log_output *log_output,
178 void log_output_msg_syst_process(const struct log_output *log_output,
188 void log_output_dropped_process(const struct log_output *output, uint32_t cnt);
194 void log_output_flush(const struct log_output *output);
201 static inline void log_output_ctx_set(const struct log_output *output, in log_output_ctx_set()
212 static inline void log_output_hostname_set(const struct log_output *output, in log_output_hostname_set()
Dlog_output_custom.h31 void log_custom_output_msg_process(const struct log_output *log_output,
55 typedef int (*log_timestamp_printer_t)(const struct log_output *output, const char *fmt, ...);
74 typedef int (*log_timestamp_format_func_t)(const struct log_output *output,
87 int log_custom_timestamp_print(const struct log_output *output, const log_timestamp_t timestamp,
Dlog_output_dict.h59 void log_dict_output_msg_process(const struct log_output *log_output,
69 void log_dict_output_dropped_process(const struct log_output *output, uint32_t cnt);
Dlog_backend_std.h48 log_backend_std_panic(const struct log_output *const output) in log_backend_std_panic()
59 log_backend_std_dropped(const struct log_output *const output, uint32_t cnt) in log_backend_std_dropped()
/Zephyr-Core-3.5.0/subsys/shell/
Dshell_log_backend.c44 log_output_ctx_set(backend->log_output, ctx); in z_shell_log_backend_enable()
73 log_output_dropped_process(backend->log_output, dropped); in z_shell_log_backend_process()
159 const struct log_output *log_output, in process_log_msg() argument
190 log_output_msg_process(log_output, &msg->log, flags); in process_log_msg()
208 const struct log_output *log_output = log_backend->log_output; in process_msg_from_buffer() local
218 process_log_msg(sh, log_output, msg, false, colors); in process_msg_from_buffer()
231 const struct log_output *log_output = log_backend->log_output; in process() local
239 process_log_msg(sh, log_output, msg, true, colors); in process()
254 process_log_msg(sh, log_output, msg, true, colors); in process()
/Zephyr-Core-3.5.0/tests/subsys/logging/log_output/src/
Dlog_output_test.c45 LOG_OUTPUT_DEFINE(log_output, mock_output_func,
57 log_output_process(&log_output, 0, NULL, SNAME, NULL, LOG_LEVEL_INF, package, NULL, 0, 0); in ZTEST()
72 log_output_process(&log_output, 0, NULL, SNAME, NULL, LOG_LEVEL_INTERNAL_RAW_STRING, in ZTEST()
88 log_output_process(&log_output, 0, DNAME, SNAME, NULL, LOG_LEVEL_INF, package, NULL, 0, 0); in ZTEST()
104 log_output_process(&log_output, 0, DNAME, SNAME, NULL, LOG_LEVEL_INF, in ZTEST()
123 log_output_process(&log_output, 0, DNAME, SNAME, NULL, LOG_LEVEL_INF, in ZTEST()
143 log_output_process(&log_output, 1000000, DNAME, SNAME, NULL, LOG_LEVEL_INF, in ZTEST()
181 log_output_process(&log_output, 0, NULL, SNAME, NULL, levels[i], in ZTEST()
213 log_output_process(&log_output, 0, NULL, SNAME, NULL, levels[i], in ZTEST()
242 log_output_process(&log_output, 0, NULL, SNAME, k_current_get(), 1, in ZTEST()
/Zephyr-Core-3.5.0/subsys/logging/
Dlog_output.c103 const struct log_output *out_ctx = (const struct log_output *)ctx; in out_func()
137 static int print_formatted(const struct log_output *output, in print_formatted()
163 void log_output_flush(const struct log_output *output) in log_output_flush()
212 static int timestamp_print(const struct log_output *output, in timestamp_print()
302 static void color_print(const struct log_output *output, in color_print()
312 static void color_prefix(const struct log_output *output, in color_prefix()
318 static void color_postfix(const struct log_output *output, in color_postfix()
325 static int ids_print(const struct log_output *output, in ids_print()
364 static void newline_print(const struct log_output *ctx, uint32_t flags) in newline_print()
382 static void hexdump_line_print(const struct log_output *output, in hexdump_line_print()
[all …]
Dlog_output_custom.c13 void log_custom_output_msg_process(const struct log_output *output, struct log_msg *msg, in log_custom_output_msg_process()
28 int log_custom_timestamp_print(const struct log_output *output, const log_timestamp_t timestamp, in log_custom_timestamp_print()
Dlog_output_syst.c40 const struct log_output *out_ctx = (const struct log_output *)ctx; in out_func()
62 out_func(p->current, systh->systh_platform.log_output); in stp_write_putNibble()
261 out_func(c, systh->systh_platform.log_output);
263 out_func(valToHex[c >> 0x4], systh->systh_platform.log_output);
264 out_func(valToHex[c & 0xF], systh->systh_platform.log_output);
336 out_func(pattern[i], systh->systh_platform.log_output);
393 out_func('\n', systh->systh_platform.log_output);
395 out_func('\r', systh->systh_platform.log_output);
396 out_func('\n', systh->systh_platform.log_output);
410 const struct log_output *log_output, argument
[all …]
Dlog_output_dict.c27 void log_dict_output_msg_process(const struct log_output *output, in log_dict_output_msg_process()
65 void log_dict_output_dropped_process(const struct log_output *output, uint32_t cnt) in log_dict_output_dropped_process()
DKconfig.template.log_format_config36 # and should match the value of LOG_OUTPUT_TEXT defined in log_output.h
DCMakeLists.txt19 log_output.c
/Zephyr-Core-3.5.0/tests/subsys/logging/log_timestamp/src/
Dlog_timestamp_test.c46 LOG_OUTPUT_DEFINE(log_output, mock_output_func,
49 int custom_timestamp(const struct log_output *output, in custom_timestamp()
74 log_output_process(&log_output, 1, DNAME, SNAME, NULL, LOG_LEVEL_INF, in ZTEST()
/Zephyr-Core-3.5.0/include/zephyr/shell/
Dshell_log_backend.h38 const struct log_output *log_output; member
87 .log_output = &_name##_log_output, \
/Zephyr-Core-3.5.0/tests/subsys/logging/log_output/
DCMakeLists.txt5 project(log_output) project
/Zephyr-Core-3.5.0/tests/subsys/logging/log_timestamp/
DCMakeLists.txt5 project(log_output) project
/Zephyr-Core-3.5.0/subsys/logging/mipi_syst/
Dplatform.h62 struct log_output *log_output; member
/Zephyr-Core-3.5.0/subsys/logging/backends/
Dlog_backend_fs.c455 LOG_OUTPUT_DEFINE(log_output, write_log_to_file, buf, MAX_FLASH_WRITE_SIZE);
474 log_dict_output_dropped_process(&log_output, cnt); in dropped()
476 log_backend_std_dropped(&log_output, cnt); in dropped()
487 log_output_func(&log_output, &msg->log, flags); in process()
DKconfig.xtensa_sim17 Buffer is used by log_output module for preparing output data (e.g.
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32s3/
Ddefault_appcpu.ld107 *libzephyr.a:log_output.*(.literal .text .literal.* .text.*)
134 …* *libzephyr.a:log_core.* *libzephyr.a:log_backend_uart.* *libzephyr.a:log_output.* *libzephyr.a:l…
135 …* *libzephyr.a:log_core.* *libzephyr.a:log_backend_uart.* *libzephyr.a:log_output.* *libzephyr.a:l…
228 *libzephyr.a:log_output.*(.rodata .rodata.*)
/Zephyr-Core-3.5.0/tests/subsys/logging/log_core_additional/src/
Dlog_test.c43 LOG_OUTPUT_DEFINE(log_output, char_out, &buf, 1);
114 log_output_msg_process(&log_output, &msg->log, flags); in process()
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32_net/
Dlinker.ld132 *libzephyr.a:log_output.*(.literal .text .literal.* .text.*)
164 …phyr.a:log_backend_uart.* *libdrivers__flash.a:esp32_mp.* *libzephyr.a:log_output.* *libzephyr.a:l…
165 …phyr.a:log_backend_uart.* *libdrivers__flash.a:esp32_mp.* *libzephyr.a:log_output.* *libzephyr.a:l…
257 *libzephyr.a:log_output.*(.rodata .rodata.*)
/Zephyr-Core-3.5.0/tests/subsys/logging/log_switch_format/src/
Dmain.c160 void custom_formatting(const struct log_output *output, struct log_msg *msg, uint32_t flags) in custom_formatting()
/Zephyr-Core-3.5.0/soc/riscv/espressif_esp32/esp32c3/
Ddefault.ld144 …phyr.a:log_backend_uart.* *libdrivers__flash.a:esp32_mp.* *libzephyr.a:log_output.* *libzephyr.a:l…
145 …phyr.a:log_backend_uart.* *libdrivers__flash.a:esp32_mp.* *libzephyr.a:log_output.* *libzephyr.a:l…
251 *libzephyr.a:log_output.*(.literal .text .literal.* .text.*)
340 *libzephyr.a:log_output.*(.rodata .rodata.*)
/Zephyr-Core-3.5.0/soc/xtensa/espressif_esp32/esp32s2/
Ddefault.ld144 …phyr.a:log_backend_uart.* *libdrivers__flash.a:esp32_mp.* *libzephyr.a:log_output.* *libzephyr.a:l…
145 …phyr.a:log_backend_uart.* *libdrivers__flash.a:esp32_mp.* *libzephyr.a:log_output.* *libzephyr.a:l…
276 *libzephyr.a:log_output.*(.literal .text .literal.* .text.*)
390 *libzephyr.a:log_output.*(.rodata .rodata.*)

12