Skip to content

FLog v1.0.1

Compare
Choose a tag to compare
@EFHDev EFHDev released this 27 Jan 15:58
· 3 commits to master since this release

introduce flexible logging configurations and enhancements

  • Introduced Config struct for centralized configuration management in flog.
    • Added methods SetLogPath, Default, isColorsOmitted, and isFolderOmitted for improved flexibility.
  • Enhanced logging functionality:
    • Introduced new logging levels (e.g., Debug).
    • Added support for format strings via new methods (InfoF, WarnF, ErrorF, DebugF).
    • Improved log message preparation with type-safe handling and format placeholders.
  • Updated Logger implementation:
    • Implemented buffered logging with periodic flush for improved performance.
    • Added synchronized access to logger resources.
    • Introduced caller info caching for efficiency.
    • New Cleanup method for proper resource release during shutdown.
  • Created measurement package to trace and log execution time for debugging.
  • Refactored internal log-related structures and logic:
    • Pre-allocated buffers for log formatting.
    • Enhanced console logging with configurable colors.

These changes optimize logging performance, configurability, and debugging capabilities.

Full Changelog: 0.0.3...v1.0.0