log4cplus-2.1.1

Introduction to log4cplus

log4cplus is an easy to use C++20 logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modeled after the Java log4j API.

This package is known to build and work properly using an LFS 12.2 platform.

Package Information

log4cplus Dependencies

Optional

qt5-components-5.15.14

Installation of log4cplus

Build log4cplus by running the following command:

./configure --prefix=/usr &&
make

To test the results, issue: make check.

Now, install the package as the root user:

make install

Command Explanations

--with-qt5: This option enables compilation of a separate shared library (liblog4cplusqt5debugappender) that implements Qt5DebugAppender. It requires Qt5 and pkg-config to be available.

Contents

Installed Programs: None
Installed Library: log4cplus.so
Installed Directories: None

Short Descriptions

log4cplus.so

is the log4cplus library