----------------------------------------------------------------------------- Generate a string with formatted thread id -----------------------------------------------------------------------------
| 309 | // Generate a string with formatted thread id |
| 310 | //----------------------------------------------------------------------------- |
| 311 | string LogImpl::GetThreadId |
| 312 | ( |
| 313 | ) |
| 314 | { |
| 315 | char buf[20]; |
| 316 | snprintf( buf, sizeof(buf), "%08lx ", (long unsigned int)pthread_self() ); |
| 317 | string str = buf; |
| 318 | return str; |
| 319 | } |
| 320 | |
| 321 | //----------------------------------------------------------------------------- |
| 322 | // <LogImpl::SetLogFileName> |
nothing calls this directly
no outgoing calls
no test coverage detected