MuseScore/thirdparty/haw_logger
Casper Jeukendrup 845d998799 Temporarily prevent crash in beam-1 VTest
When the first and/or ChordRest of a Beam is not a Chord
2021-12-07 10:43:15 +03:00
..
logger Temporarily prevent crash in beam-1 VTest 2021-12-07 10:43:15 +03:00
tests added logger 2020-11-05 21:28:09 +02:00
.gitignore added logger 2020-11-05 21:28:09 +02:00
LICENSE added logger 2020-11-05 21:28:09 +02:00
README.md added logger 2020-11-05 21:28:09 +02:00

Simple logger

Simple, convinient, thread safe and flexible logger with Qt support (ported from https://github.com/igorkorsukov/qzebradev)

Features:

  • Stream input
  • Many destinations
  • Log levels, messages types, messages tags
  • Very small overhead for disabled debug (with use macro)
  • Catch Qt messages
  • Custom output format
  • Custom messages types
  • Filter by type

Example

To use Logger within your software project include the Logger source into your project

Source:

  • logger.h/cpp - logger and base stuff
  • logdefdest.h/cpp - default destinations for console and file
  • log_example.h - macro for simple use logger

or include logger.cmake in the cmake project

Change log_example.h as you see fit