Changeset 875 for cpp/common/log.h


Ignore:
Timestamp:
05/06/19 13:14:56 (3 months ago)
Author:
Maciej Komosinski
Message:

Better use of LOG_level constants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/log.h

    r874 r875  
    2020
    2121//level (importance) of a message
     22#define LOG_MIN LOG_DEBUG
    2223#define LOG_DEBUG -1 //debugging information, not needed for final users
    2324#define LOG_INFO 0 //information
     
    2526#define LOG_ERROR 2 //uncorrected error, can cause malfunction
    2627#define LOG_CRITICAL 3 //serious error, causes side effects. User should save what can be saved and restart the application
     28#define LOG_MAX LOG_CRITICAL
    2729
    2830#endif
Note: See TracChangeset for help on using the changeset viewer.