log4cplus-2.1.1

#### Beyond Linux® From Scratch (systemd Edition) - Version 12.2

### Chapter 9. General Libraries

- Prev

  libyaml-0.2.5

- Next

  LZO-2.10

- Up
- Home

# 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

- Download (HTTP): https://github.com/log4cplus/log4cplus/releases/download/REL_2_1_1/log4cplus-2.1.1.tar.xz

- Download MD5 sum: 6ee2555be39cd269086cc871c834e43f

- Download size: 919 KB

- Estimated disk space required: 73 MB

- Estimated build time: 0.3 SBU (Using parallelism=4; add 0.5 SBU for tests)

### 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

- Prev

  libyaml-0.2.5

- Next

  LZO-2.10

- Up
- Home