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:
|
|
|
|
samples.logger:
|
|
|
|
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-03-29 23:44:43 +08:00
|
|
|
samples.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
|
|
|
|
|
|
|
|
samples.logger.usermode:
|
|
|
|
tags: logging usermode
|
|
|
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
|
|
|
harness: keyboard
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_USERSPACE=y
|