- Add example for the input log functionality
- Update CMakeLists.txt and documentation's Doxyfile.in
- Create function for logstreambuf that accepts char arrays (like const char*)
- Add input log functionality. The input log functionality can handle user input and input queries.
- Disable color feature (ANSI codes in strings are not supported anymore)
- Patch main.cpp for testing and examples
- Make it possible to disable the version prompt when starting globallog
- Small patch to uint syntax for windows
- Add missing inline to QString compatibility function
- More member functions are protected now
- Patched destructors that should be virtual causing compilation errors on windows (msvc2015)
- The way,
QStringis handled changed: The core library is not linked againstQt5Coreanymore. Instead there is a conversion headerlogcpp-qt.hppincluded in the release that enables the log buffer to handleQString. This header has to be included in some of your files that want to passQStrings to loggers. The CMake-OptionLOGCPP_ENABLE_QT_SUPPORTdoes not exist anymore. severity_loggernow colors severities by default, if on unix. The CMake-OptionLOGCPP_AUTOCOLORdoes not exist anymore.
QStringcan be handled properly when liblogcpp is not used as a git submodule and its compilation does not react to the own flags
- Assertion functions aviable via the header
assert.hpp - channel_log now supports logging to all channels enabled at once
- For class name conveniences channellog is now called channel_log. There is a typedef channellog, so you haven't to change anything
- The directory prefix of a scope is now stripped by default. The compiler option therefore changed to
LOGCPP_LEAVE_SCOPE_DIRS_PREFIXto prevent this behaviour
- Color codes are not logged to file logs any more
- LOGCPP_AUTOCOLOR is now implemented as member functions and only logs, if m_color_ok is true
- Resetting the Color mode also resets the ctl_foreground/ctl_background flag now
- liblogcpp has now a channel logger that is able to handle a set of named loggers that can be selected by operator[]
- liblogcpp now supports MSVC 2015 and later (Tested on Windows 8.1). There is still no solution for colors on Windows.
- liblogcpp can now be build as shared library by passing
-DLOGCPP_SHARED=ONto cmake. Default behaviour is to build a static library. - Severities are not defined in global namespace anymore, but in classes that can be inherited from.
- The cmake options AUTOCOLOR, ENABLE_QT_SUPPORT and INSTALL_LIBS are now also prefixed with LOGCPP_ (LOGCPP_AUTOCOLOR, LOGCPP_ENABLE_QT_SUPPORT, LOGCPP_INSTALL_LIBS) for better compatibility with other libraries when used as a submodule.
- The make target for Doxygen is now called 'doc_logcpp' for compatibility when using this as a submodule.
- The make target is now enabled automatically when Doxygen is found.
- Less templating, less compile time
- Don't make it possible to use AUTOCOLOR on WIN32 yet
- Color support is now explicitly disabled for WIN32 in config.hpp, even if CMake sets this macro
- The file liblogcpp.pc is now configured according to the environment
- The compile options AUTOCOLOR and ENABLE_QT_SUPPORT are now prefixed with LOGCPP_ (LOGCPP_AUTOCOLOR, LOGCPP_ENABLE_QT_SUPPORT) for better compatibility with other libraries
- Colorizing and controlling the font is supported for unix now
- The compile and cmake option -DAUTOCOLOR=1 enables automatic features like colorizing severities and resetting terminal mode after ending a record.
- Added support for QString. This can be enabled with the CMake option -DENABLE_QT_SUPPORT=ON
- Added Doxygen documentation
- Added packaging files for Debian 8 and later
- Add pkg-config module
- Fix installation of library headers (they were installed to include, not include/liblogcpp)
- Added CMake modules
- Added packaging files for Arch Linux
- Added version header logcppversion.hpp
- Some fixes in build system
- The library (containing the global logger) can only be build static since this release.