2018-05-30 14:55:21 +08:00
|
|
|
sample:
|
|
|
|
description: A simple application that demonstrate
|
|
|
|
use of logging feature.
|
|
|
|
name: logger sample
|
2018-09-23 03:06:33 +08:00
|
|
|
tests:
|
2020-05-05 20:31:15 +08:00
|
|
|
sample.logger.basic:
|
2018-09-23 03:06:33 +08:00
|
|
|
tags: logging
|
|
|
|
harness: console
|
|
|
|
harness_config:
|
|
|
|
type: one_line
|
|
|
|
regex:
|
|
|
|
- Instance level logging showcase
|
|
|
|
- Changing filter to warning
|
|
|
|
- Disabling logging
|
|
|
|
- Severity levels showcase
|
|
|
|
- Logging performance showcase
|
|
|
|
- Logs from external logging system showcase
|
2019-03-28 17:35:25 +08:00
|
|
|
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.logger.rtt:
|
2019-03-28 17:35:25 +08:00
|
|
|
tags: logging
|
|
|
|
filter: CONFIG_HAS_SEGGER_RTT
|
|
|
|
harness: keyboard
|
2019-08-22 17:43:16 +08:00
|
|
|
extra_configs:
|
|
|
|
- CONFIG_LOG_BACKEND_RTT=y
|
|
|
|
- CONFIG_USE_SEGGER_RTT=y
|
|
|
|
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.logger.usermode:
|
2019-08-22 17:43:16 +08:00
|
|
|
tags: logging usermode
|
|
|
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
|
|
|
harness: keyboard
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_USERSPACE=y
|