Changeset 98 in libcf for trunk/include/cf_log.h


Ignore:
Timestamp:
05/28/13 17:35:32 (11 years ago)
Author:
cheese
Message:

#1 add function to set log level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_log.h

    r66 r98  
    2828#define CF_LOG_BUFFER_NO                0
    2929
     30/**
     31 * 로그 레벨 사용 안함
     32 *
     33 * @see CF_Log_SetLevel
     34 */
     35#define CF_LOG_NO_LEVEL                 -1
     36
    3037#ifdef __cplusplus
    3138extern "C" {
     
    4754
    4855CF_EXPORT int
    49 CF_Log_SetMT            (const int      mapid,
    50                          const CF_BOOL  flag);
    51 
    52 CF_EXPORT int
    5356CF_Log_Write            (const int  mapid,
    5457                         const char * prefix,
     
    5861CF_Log_Flush            (const int mapid);
    5962
     63CF_EXPORT int
     64CF_Log_SetMT            (const int      mapid,
     65                         const CF_BOOL  flag);
     66
     67CF_EXPORT int
     68CF_Log_SetLevel         (const int level);
     69
    6070#ifdef __cplusplus
    6171}
Note: See TracChangeset for help on using the changeset viewer.