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

Added logging in pjsua wince

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.