Changeset 774 for pjproject/trunk


Ignore:
Timestamp:
Oct 16, 2006 3:52:31 PM (18 years ago)
Author:
bennylp
Message:

Added logging in pjsua wince

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config_site_sample.h

    r750 r774  
    1515 */ 
    1616#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 
    17 #   if !defined(PJ_DEBUG) || PJ_DEBUG==0 
    18 #       define PJ_LOG_MAX_LEVEL         0 
    19 #       define PJ_ENABLE_EXTRA_CHECK    0 
    20 #   endif 
    21  
    2217#   define PJ_HAS_FLOATING_POINT        0 
    2318 
  • pjproject/trunk/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp

    r717 r774  
    249249{ 
    250250} 
    251  
    252251 
    253252 
     
    276275    /* Init configs */ 
    277276    pjsua_config_default(&cfg); 
    278     pjsua_logging_config_default(&log_cfg); 
    279277    pjsua_media_config_default(&media_cfg); 
    280278    pjsua_transport_config_default(&udp_cfg); 
     
    282280    pjsua_transport_config_default(&rtp_cfg); 
    283281    rtp_cfg.port = 40000; 
     282 
     283    pjsua_logging_config_default(&log_cfg); 
     284    log_cfg.level = 5; 
     285    log_cfg.log_filename = pj_str("\\pjsua.txt"); 
     286    log_cfg.msg_logging = 1; 
     287    log_cfg.decor = pj_log_get_decor() | PJ_LOG_HAS_CR; 
    284288 
    285289    /* Setup media */ 
Note: See TracChangeset for help on using the changeset viewer.