zephyr/tests/subsys/logging/logger-hook
Anas Nashif deaab90641 tests/samples: cleanup tags
Remove redundant 'sample' tag and add something that matches the
functionality and features being tested, demonstrated.

Avoid short abbriviations and using full names for fs.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-10-16 09:17:51 -04:00
..
src lib: ring_buffer: add raw byte access mode 2018-10-09 13:58:44 -04:00
CMakeLists.txt cmake: Prepend 'cmake_minimum_required()' into 'app' build scripts 2018-08-15 04:06:50 -07:00
README.txt
prj.conf tests: logger-hook: increase ztest stack size 2018-06-05 14:13:17 -04:00
testcase.yaml tests/samples: cleanup tags 2018-10-16 09:17:51 -04:00

README.txt

Title: Logger application hook sample

Description:

A simple example on how to use logger hook in order to redirect the logger
output to various backends.
In this case, the logger is sending the output to ringbuf,
logger output can be sent to a driver such as UART / USIF etc. as well.

--------------------------------------------------------------------------------

Building and Running Project:

This project outputs to the console.  It can be built and executed on QEMU as
follows:

    make run

--------------------------------------------------------------------------------

Troubleshooting:

Problems caused by out-dated project information can be addressed by
issuing one of the following commands then rebuilding the project:

    make clean          # discard results of previous builds
                        # but keep existing configuration info
or
    make pristine       # discard results of previous builds
                        # and restore pre-defined configuration info

--------------------------------------------------------------------------------

Sample Output:

[syslogger] [ERR] main: SYS LOG ERR is ACTIVE
[syslogger] [WRN] main: SYS LOG WRN is ACTIVE
[syslogger] [INF] main: SYS LOG INF is ACTIVE