Skip to content

Latest commit

 

History

History
144 lines (122 loc) · 15.5 KB

CHANGELOG.md

File metadata and controls

144 lines (122 loc) · 15.5 KB

v0.1.3 (2021-08-05)

Chore

Features

  • core: Add a way to register a default logger factory function (4990bb6)

v0.1.2 (2021-05-27)

Bug Fixes

  • core: add LLVM libFuzzer-based fuzz tests and fix ASAN-detected memory issues (f385876)
  • sinks: Add missing localtime conversion when rolling with a RoundInterval (73c8f4b)
  • sinks: Correctly parse FormatSink formatter options (91db685)
  • sinks: Update rolling_ofstream RollEvery logic when rolling with a round interval. (91a4e3d)
  • Correctly parse time durations and allow negative durations (8b8f3ec)
  • Update stop sequence order of FileWatcher to avoid deadlocking. (fa0f3d5)

Chore

  • CMake: Use set_property instead of target_* functions in FindFilesystem to support older versions of CMake. (d17babe)
  • config: Simplify TomlConfigurator logger missing fields filling (d98d695)
  • core: Fix implicit type conversion warning (10e307e)
  • core: Move SimpleTypedBlockingQueue to its own header file. (160d2c3)
  • queue: disable structure alignment padding warning on msvc (17f6305)

Features

  • config: Add time shifting configuration option to timestamp archive policy (59497c3)
  • config: Make level and sinks configuration parameters for logger optional (b1af75d)
  • core: Add Off to LogLevel that can be used to disable a logger (f96bbd2)
  • core: Keep track of loggers created through the default factory to allow out-of-order initialization of registry. (7dc6df3)
  • format: Add a format specifier to convert time to local time. (9cc4a23), related to #21

v0.1.1 (2021-04-26)

Bug Fixes

  • sinks: Correctly call onAfterOpened for RollingFileSink (76f22af)
  • sinks: Do not spuriously throw configuration error for RollingFileSink (f8c5944)
  • Fix possible invalid iterator usage in string_utils::iequals (11c444a)

Chore

  • CMake: Add Filesystem script to correctly link with stdc++fs if needed (211017f)
  • CMake: Print message when copying file next to binary (2a231e1)
  • Bump patch version number to 0.1.1 (d56f21e)

Enhancement

  • CMake: Link back with stdc++fs for gcc (8d72114)
  • CMake: Only generate install target by default when logpp is not included as a subdirectory (89d703e)

Features

  • sinks: Add ColoredConsole TOML theme configuration (cc523b5)
  • sinks: Add Console sink (9ed96a6), related to #19

Style

v0.1.0 (2021-04-19)

Bug Fixes

  • core: Correctly format text with parenthesis (716ae63)
  • format: Fix failing LogFmtFormatterTests with gcc (d19be4a)

Chore

  • build: Remove build directory output setup from CMakeLists and let conan do the right setup (6100f5c)
  • core: Fix clang build (d3bf2fe)
  • core: Get rid of LoggerFactory (99e852f)
  • core: make LoggerRegistry thread-safe (b6af4cb)
  • core: Renaming (0c337d6)
  • format: Cleanup FieldsFormatter (73feafb)
  • sinks: Fix initialization order warning (ed03f16)
  • workflows: Enable CI on Windows (0094304)
  • Add .clang-format (05d9a02)
  • Add a format shell script and make target (11b4423)
  • Add Features section in README.md (428b729)
  • Code format (ddbe438)
  • Code style fixes (314ab62)
  • Fix CMakeLists.txt (2061e08)
  • Fix windows build (f81d23b)
  • Format (0492924)
  • Provide a way to specify dependencies other than using conan (0729795)
  • README (7941e72)

Enhancement

  • CMake: Add CPack (1ae315a)
  • CMake: Add install target (54a181f)
  • config: Add file parsing to TomlConfigurator (b18ceb6)
  • core: Add a registerFlag function to PatternFormatter to register custom flag formatter. (f67fcbf), related to #4
  • core: Add free log functions (2f8b10d)
  • core: Add LOGPP_* logging macros and source location (fa2b4ac)
  • core: Add thread id to EventLogBuffer (73a4d69)
  • core: Correctly take LogLevel into account when logging messages (fd3ede8)
  • core: Handle boolean fields (da4da85), related to #17
  • core: logpp::data() now becomes logpp::field and rename related types (9b8b7af)
  • core: StringLiteralOffset now really holds an offset to the buffer (08e26be)
  • format: Add pattern to LogFmtFormatter (d28c66f)
  • format: Add thread id to PatternFormatter and LogFormatter (35223b2)
  • format: Make LogFmt a Formatter, not a Sink (3abe380)
  • format: Use date library to convert timepoint to date and time instead of tm type (0bd7349)
  • platform: Fix build under msvc (4832a69)
  • sink: Add a way to override FileSink (9815052)
  • sink: Add options to FileSink (949b517)
  • sink: Correctly activate Sink options and update RollingFileSink (ee4d4d9)
  • sink: Migrate sinks configuration to ConfigurationError exception class to give more context to the user (2771966)
  • sink: Re-organize file sink structure (6183b85)
  • sink: Rename FileSink name to File (86885c2)
  • sinks: Add rolling_ofstream implementation based on std::basic_stream interface (653e6f5)
  • sinks: Correctly mark RollingOfStream function as override and call mode() in temporary_filebuf (87e773b)
  • sinks: Make File destructor virtual (fac43cb)
  • sinks: Replace RollingStrategy and ArchiveStrategy by rolling_ofstream in RollingFileSink (3474324)
  • sinks: Use rang library to format color in ColoredConsole (4918c5f)
  • Fix clang build (522dfff)

Features

  • api: Remove evented-like logging from API (0e83f90)
  • config: Add and default to a noop version of FileWatcher when implementation is not available on current platform (c9482ca)
  • config: Add FileWatcher implementation for Windows (ad86ca5)
  • config: Add TomlConfigurator to configure loggers though TOML (5cc5d80)
  • config: Default logger can now be configured from TOML (8923950)
  • core: Add a registry (dbf759e)
  • core: Add structured logging (bd65e02)
  • core: Add support for fields that provide an ostream operator<< (4cff806)
  • core: Added a format-like API for log message (27e03e7)
  • core: Rework structured data visiting inside LogBuffer (83b531c)
  • format: Add '%i' milliseconds pattern formatter flag and '%u' microseconds pattern formatter flag (a0b2197)
  • format: Add a Formatter interface and PatternFormatter implementation (4f516b7)
  • format: Support structured fields formatting in PatternFormatter (7b326a5)
  • sink: Add logger name (5466d88)
  • sink: Add starting implementation of RollingFileSink (1ac6a79)
  • sink: Colorize level in ColoredOutputConsole (9e03fa8)
  • sink: Making progress on RollingFileSInk (bf1f7fb)
  • sink: Revamp configuration options and put some more work into RollingFileSink (0413d16)
  • sinks: Add a basic FileSink (888f41f)
  • sinks: Add configuration options to AsyncSink (0b57283)
  • sinks: Add level option to TOML sink configuration. (4782a60), related to #8
  • sinks: Refactored ColoredOutputConsole to ColoredConsole and added ColoredErrorConsole (416c735)