Home --> Documentations --> PJSIP Reference
Logging configuration, which can be (optionally) specified when calling Lib::init().
Default constructor initialises with default values
Construct from pjsua_logging_config
Read this object from a container.
Write this object to a container.
Log incoming and outgoing SIP message? Yes!
Input verbosity level. Value 5 is reasonable.
Verbosity level for console. Value 4 is reasonable.
Optional log filename if app wishes the library to write to log file.
Additional flags to be given to pj_file_open() when opening the log file. By default, the flag is PJ_O_WRONLY. Application may set PJ_O_APPEND here so that logs are appended to existing file instead of overwriting it.
Default is 0.
Custom log writer, if required. This instance will be destroyed by the endpoint when the endpoint is destroyed.