plog

Portable, simple and extensible C++ logging library

MIT License

Downloads
7
Stars
2.2K
Committers
31

Bot releases are hidden (Show)

plog - Latest Release

Published by SergiusTheBest about 1 year ago

  • New: Add support for UTF-8 char encoding on Windows (#76, #69, #238, #239)
    This allows to use Utf8Everywhere approach
  • New: Add ArduinoAppender
  • New: Publish on PlatformIO Registry for embedded development (#244)
  • New: Add support for char8_t strings
  • New: Add tests
  • Enh: Add rudimentary support of VS2005 (#232)
  • Enh: Implementation of vasprintf emulation (#243)
  • Fix: Parsing of templated classes (#251)
  • Fix: Compiling with MSVC using C++20 (#236)
  • Fix: No newline error with '-Wnewline-eof' build flag (#263)
plog -

Published by SergiusTheBest almost 2 years ago

  • New: Add ability to truncate log file using > in shell (#155)
  • New: Add override specifier (to be able to build with -Wsuggest-override) (#231)
  • New: Add nuget specs (#86)
  • New: Add ability to add/remove appenders (#226)
  • Fix: Printing boost::filesystem::path (#227)
  • Fix: Building on C++ Builder 10.4 (#225)
  • Fix: PLOG_LOCAL mode if symbol visibility set to default (#219)
plog -

Published by SergiusTheBest over 2 years ago

  • 'operator <<' is ambiguous for string_view on Windows (#217)
  • CMake + vcpkg: find_package (#211)
plog -

Published by SergiusTheBest over 2 years ago

  • New: Add hex dumper (#111)
  • New: Add ASCII dumper (#213)
  • New: Add support for printing std containers (#207)
  • New: Add console initializer
  • New: Add PrintVar helper
  • New: Add CMake find_package support (#171)
  • Enh: Change license to MIT (#212)
  • Fix: Specify calling convention for std stream manipulators (#210)
  • Fix: Compilation on VS2010 (#207)
  • Fix: Use add_custom_target for pseudo-project with headers (#216)
plog -

Published by SergiusTheBest over 2 years ago

  • New: Ability to disable logging to reduce binary size (#130)
  • New: Ability to change maxFiles/maxFileSize after initialization
  • New: Logging std::filesystem::path without explicit conversion to std::string (#168, #185, #183)
  • New: Allow to choose stdout/stderr for console appender (#162, #117)
  • New: Ability to change log file name at runtime (#62)
  • New: Ability to control sharing across modules (#96, #152, #20)
  • New: Building on platforms without thread support (#161, #113)
  • Enh: Change color functions from private to protected (#163)
  • Enh: Do not include plog/Init.h in plog/Log.h (#127, #89)
  • Fix: WideCharToMultiByte bug (#202)
  • Fix: Building with Qt6 (#190)
  • Fix: Compiling on GCC 4.4-4.7 (#176)
  • Fix: Suppress UBSan false positive (#90)
  • Fix: Don't share handle/fd to child process (#170)
  • Fix: MSVC analyzer warnings (#148)
  • Fix: File size truncation > 2GB on Windows (#160)
  • Fix: RTEMS build on newer toolchain (#158, #159)
plog -

Published by SergiusTheBest over 4 years ago

Changes

  • New: Use NativeEOLConverter by default (#145)
  • New: Add logger instanceId into Record (#141)
  • New: Add support for the printf style formatting (#139)
  • New: Make severityFromString case-insensitive
  • New: Define macro names with "PLOG" instead of "LOG" in order to avoid conflicts with "LOG" names defined in other packages or in system headers (#25, #129)
  • New: Add option for building samples (ON per default) (#125, #126)
  • New: Add CMake installer (#121, #122)
  • New: Add support for QStringRef
  • New: Modernize CMake (#106)
  • New: Allow rollLogFiles to be called manually (#100, #103)
  • New: Add ability to use UTC time (#101)
  • Fix: Disable PLOG_GET_THIS() by default (#120, #132)
  • Fix: Change RegSetValueExW prototype to match windows native declaration (void* -> BYTE*)
  • Fix: Move System::String^ handler to a free function (#131)
  • Fix: Making sure we can build standalone under Windows (#123)
  • Fix: Parse error by ReSharper (#116)
  • Fix: Parse error by Clang Code Model in Qt Creator (#114)
  • Fix: Printing CustomType at begin of the stream (#94)
  • Fix: Make RollingFileAppender work with maxFiles set to 1 (#70)
  • Fix: Clang-tidy nullable issue
plog -

Published by SergiusTheBest over 6 years ago

  • New: Add -Wundef support
  • New #87: Add RTEMS support
  • New #84: Add Intel C++ Compiler support
  • New #83: Add FreeBSD support
  • New #79: Add -Wnon-virtual-dtor support
  • New #66: Support ostream operator<< on windows as well as wostream
  • Fix #68: Fix compilation for Android
  • Fix: Fix compiling with cmake 2.8
plog -

Published by SergiusTheBest about 7 years ago

  • New: Introduce PLOG_ENABLE_WCHAR_INPUT macro to control wide string support
  • New #63: Add support for managed C++ System::String^
  • New #61: Add missing macros for logging with severity NONE
  • Fix #59: Unable to build NativeEOLConverter/UTF8Converter using Visual Studio
  • Fix #58: Use WriteConsoleW instead of global setlocale for writing unicode into windows console
  • Fix #55: Mention about linking to iconv on macOS
  • Fix: IF_LOG macro didn't work for curly braces blocks
plog -

Published by SergiusTheBest over 7 years ago

plog -

Published by SergiusTheBest over 7 years ago

  • Fixed #47: Update includes
  • Fixed #45, #13: Get rid of windows.h dependency
  • Fixed #40: Signed unsigned assignment warning
  • Fixed #39: Build warning on macOS 10.12 Sierra
  • New #36: Ability to check whether event log registry entry exists
plog -

Published by SergiusTheBest almost 8 years ago

  • Fix #34: Introduce binary compatible interface to Record (WARNING: this is not compatible with 1.0.x version in Chained mode, so don't mix 1.1.x and 1.0.x)
plog -

Published by SergiusTheBest almost 8 years ago

  • New #11: Default instance can be set via PLOG_DEFAULT_INSTANCE
  • New #30: Support for QString
  • New: Support for C++Builder
  • New #15: severityFromString function
  • New #21: Capture source file name (disabled by default)
  • New #33: Add DebugOutputAppender
  • New #32: Add EventLogAppender
  • Fixed #12: Crash on processing Obj-C function name
  • Fixed #17: Compatibility with MinGW
  • Fixed #27: IF_LOG_ macro in if/else leads to miss else branch
  • Fixed #18, #29: Thread safety for ConsoleAppender/ColorConsoleAppender
  • Fixed #31: Support for stream manipulators like std::endl
  • Fixed: Compatibility with old Visual Studio versions
plog -

Published by SergiusTheBest almost 9 years ago

  • Initial public release
plog -

Published by SergiusTheBest almost 9 years ago

  • New: Added ColorConsoleAppender
  • Fixed #6: Compatibility with Mingw-w64
  • Fixed #7: Log file not created if file name contains Unicode characters in Windows
  • Fixed #4: Flush stdout
  • Fixed #3: IntelliSense error: expected an identifier