The LogRR
component provides a system for logging information about program operation. The component includes a server program to which other programs forward messages about their state, and auxiliary output channels used for logging. Messages are sent to the server by using the logrr_clog
library (the logrr_cpp
library is available for C++), which filters messages according to the log level and sends them to the server. The server relays messages to output channels. An output channel saves log messages to files.
In the SDK, the LogRR program APIs are represented by static and dynamic libraries linked to the programs whose operating information is logged:
logrr_clog
library and the header file sysroot-*-kos/include/component/logrr/clog/clog.h
are used in C-language programs. logrr_cpp
library and the header file sysroot-*-kos/include/component/logrr/cpp/logger.h
are used in C++ programs.