Navigation


Changeset 1407:d4a4ab5239c7 in freeDiameter for libfdproto


Ignore:
Timestamp:
Feb 18, 2020, 3:01:07 PM (4 years ago)
Author:
Luke Mewburn <luke@mewburn.net>
Branch:
default
Phase:
public
Message:

add log level FD_LOG_INFO

Add log level FD_LOG_INFO, below FD_LOG_NOTICE and above FD_LOG_DEBUG.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/log.c

    r1305 r1407  
    113113            case FD_LOG_ANNOYING:  printf("%s   A   ", (use_colors == 1) ? "\e[0;37m" : ""); break;
    114114            case FD_LOG_DEBUG:     printf("%s DBG   ", (use_colors == 1) ? "\e[0;37m" : ""); break;
     115            case FD_LOG_INFO:      printf("%sINFO   ", (use_colors == 1) ? "\e[1;37m" : ""); break;
    115116            case FD_LOG_NOTICE:    printf("%sNOTI   ", (use_colors == 1) ? "\e[1;37m" : ""); break;
    116117            case FD_LOG_ERROR:     printf("%sERROR  ", (use_colors == 1) ? "\e[0;31m" : ""); break;
Note: See TracChangeset for help on using the changeset viewer.