Giter Site home page Giter Site logo

conclog's Introduction

ConcLog

License: MIT Unix Status Windows Status codecov

ConcLog is a library for concurrent logging. It features the following:

  1. Print from different threads with no overlapping of the output
  2. Support for automatic registration/deregistration of threads (with example Thread implementation provided in the tests)
  3. Set relative indentation on all logger calls, even on free functions
  4. Set runtime verbosity to efficiently filter out unnecessarily detailed calls
  5. Themes for highlighting keywords (and ability to add custom keywords)
  6. Different output schedulers to offer different levels of guarantee on output order
  7. Support for holding text on the bottom line, useful for progress indicators (provided in the library) and similar displays
  8. A lot of configuration options for optionally printing entry/exit functions, thread identifiers, etc.

Building

To build the library from sources in a clean way, it is preferable that you set up a build subdirectory, say:

$ mkdir build && cd build

Then you can prepare the build environment, choosing a Release build for maximum performance:

$ cmake .. -DCMAKE_BUILD_TYPE=Release

At this point, if no error arises, you can build with:

$ cmake --build .

The library is meant to be used as a dependency, in particular by disabling testing as long as the tests target is already defined in an enclosing project.

Contribution guidelines

If you would like to contribute to ConcLog, please contact the developer:

conclog's People

Contributors

lgeretti avatar mircodemarchi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

conclog's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.