Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Conversation

@xinwf
Copy link

@xinwf xinwf commented Aug 22, 2019

1.Set level output with a fixed width 2.Allowing user configure fbase in log filename with conf file

This is a

  • Breaking change
  • New feature
  • Bugfix

I have

Example of this feature:

* GLOBAL:
    ENABLED                 =   true
    TO_FILE                 =   true
    TO_STANDARD_OUTPUT      =   true
    FORMAT                  =   "%datetime{%H:%m:%s} %level %fbase:%line] %msg"
    FILENAME                =   "/tmp/LOG/%datetime{%Y%M%d}/%fbase.log"
    MILLISECONDS_WIDTH      =   3
    PERFORMANCE_TRACKING    =   false
    MAX_LOG_FILE_SIZE       =   1048576
    LOG_FLUSH_THRESHOLD     =   0
	
* VERBOSE:
    ENABLED                 =   false

I have test with CMakeLists with g++14.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant