/cpp-logger

Primary LanguageC++OtherNOASSERTION

DIG Logger

Build Status Test Status Version License

Windows - Supported Linux - Supported MacOS - Not-Tested

A C++ logger api with support to extensions.

Requires C++20.

Compiler gcc clang msvc
Required 11.1+ 12.0.1+ 19.29+ (VS16.10)

Usage

#include <dig-logger/logger.hpp>
#include <dig-logger/printer/stdout.hpp>
⋮
DIG::Logger::Logger log(std::make_shared<DIG::Logger::Printer::StdOut>());
⋮
// Long names
log1.assert("Assert");
log.error("Error");
log.warning("Warning");
log.information("Information");
log.debug("Debug");
log.verbose("Verbose");

// Short names
log.e("Error");
log.w("Warning");
log.i("Information");
log.d("Debug");
log.v("Verbose");

Instalation

Under construction

License

CC BY-ND 4.0

  • You can use and re-dist freely.
  • You can also modify, but only for yourself.
  • You can use it as a part of your project, but without modifications in this project.