Skip to content

nikewall/logging_util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logging_util

A simple logging utility for C++11 projects

Features

  • Support for stdout and file descriptors
  • Three default log levels: DEBUG, WARNING, and ERROR
  • WIP User-specified log levels
  • WIP Support for tee-style output forking within one Logger object.

Building

Building example executable

This project requires CMake(> 3.16), make, and a C++11 compatible compiler.

To build and run the example executable:

mkdir build/
cd build/
cmake ..
make -j 
./logger_example

Building static library (.a)

To build the logger static library to link against in your own project, use make install. This saves the built liblogger.a into build/lib/.

mkdir build/
cd build/
cmake ..
make -j install
ls lib/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published