Lightweight and fast C++ Logging Library
Go to file
Giulio Eulisse 7d0411b939 Use quotes to include local headers
In general angular brackets are used for external headers, while quotes are used for internal ones. Is there any particular reason not to follow the conventions? While this is admittedly left to the compiler implementor by the standard, some implementations, like gcc, do have a peculiar behavior for the two kind of `include` and the current solution might end up including something unwanted, especially given the quite "common" name (Logger) used.
2019-01-01 15:50:00 +01:00
cmake Enable PIC by default 2018-09-19 18:31:45 +02:00
logger Use quotes to include local headers 2019-01-01 15:50:00 +01:00
test Add cycle methods and verylow verbosity (msg only) 2018-05-09 15:30:01 +02:00
.gitignore Add CI 2018-04-11 02:21:16 +02:00
CMakeLists.txt Reflect git version in build artifacts 2018-09-19 18:20:29 +02:00
CTestConfig.cmake Add build status badge 2018-04-11 15:07:30 +02:00
Dart.sh Add build status badge 2018-04-11 15:07:30 +02:00
example.png Update 2018-04-11 16:11:36 +02:00
FairLoggerTest.cmake Add nightly/profile build pipeline 2018-05-02 14:56:55 +02:00
Jenkinsfile Update build machines 2018-07-30 19:46:30 +02:00
Jenkinsfile.nightly Update build machines 2018-07-30 19:46:30 +02:00
LICENSE Add CMake project and package 2018-04-11 01:42:24 +02:00
README.md Update 2018-04-11 16:11:36 +02:00

FairLogger

Lightweight and fast C++ Logging Library

example output

Branch Build Status
master build status master branch
dev build status dev branch

Installation

git clone https://github.com/FairRootGroup/FairLogger
mkdir FairLogger_build && cd FairLogger_build
cmake -DCMAKE_INSTALL_PREFIX=./FairLogger_install ../FairLogger
cmake --build . --target install

Usage

In your CMakeLists.txt:

find_package(FairLogger)

If FairLogger is not installed in system directories, you can hint the installation location:

set(CMAKE_PREFIX_PATH /path/to/FairLogger/installation ${CMAKE_PREFIX_PATH})
find_package(FairLogger)

find_package(FairLogger) will define an imported target FairLogger::FairLogger.

CMake options

On command line:

  • -DDISABLE_COLOR=ON disables coloured console output.
  • -DBUILD_TESTING=OFF disables building of unit tests.

License

GNU Lesser General Public Licence (LGPL) version 3, see LICENSE.

Copyright (C) 2017-2018 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH