Skip to content

Latest commit

 

History

History
125 lines (71 loc) · 3.21 KB

CHANGELOG.md

File metadata and controls

125 lines (71 loc) · 3.21 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.4.2 - 2023-02-09

Fixed

  • Fix: logrotate compilation error: pthread symbol missing

0.4.1 - 2023-02-08

Added

  • Added command line tool logrotate for circular logging to file

0.4.0 - 2022-09-08

Added

  • Add MIT license
  • Add changelog file

Fixed

  • Resolve compile warnings under -W -Wall -Waddress compile options
  • TIME_CODE() and TOKEN(string) cannot turn off color output
  • Token output is not limited by level

0.3.1 - 2021-06-21

Added

  • Execute flush operation when outputting logs above the error level
  • Support setting flush callback function

Changed

  • Use enum ulog_level_e to replace LogLevel to avoid naming conflicts with other projects
  • Set ulog cmake public header file path (use modern cmake target_include_directories(xxx PUBLIC xxx) syntax)
  • Optimize the internal processing of the snprintf function to reduce the call of strlen()
  • Set user_data and output_callback separately, keeping each setting independent, keep the logger_create function simple

Fixed

  • Support signed char type token printing

0.3.0 - 2021-02-04

Added

  • Support the creation of different logger instances

0.2.0 - 2020-11-26

Added

  • Add user private data settings to make the output more flexible
  • Add examples of asynchronous file output and auxiliary classes

Changed

  • Use LOGGER_XXX macros instead of LOG_XXX to avoid naming conflicts
  • Remove the brackets from the time information

Fixed

  • fix: It is executed twice when the log parameter is a function

Removed

  • Delete the ABORT() and ASSERT() auxiliary functions, it should not be the responsibility of the log library

0.1.2 - 2020-05-25

Removed

  • Delete too many macro definitions (try to use functions instead of macros):
  • Delete ULOG_DISABLE macro
  • Delete ULOG_DEFAULT_LEVEL macro
  • Delete ULOG_DISABLE_COLOR macro
  • Delete ULOG_CLS macro

Fixed

  • After the first line of hexdump indicates that the output fails, the output will not continue

0.1.1 - 2020-05-22

Changed

  • LOG_TIME_CODE uses microseconds as the output unit
  • Make asynchronous logs block waiting

0.1.0 - 2020-02-07

  • Realize basic functions

  • Various log levels output, rich colors, hexdump output, token output, time_code statistics

  • Add fifo for asynchronous output