------------------------------------------------------------------------------
| 249 | |
| 250 | // ------------------------------------------------------------------------------ |
| 251 | void SetLogStreams(const ImportData& imp) |
| 252 | { |
| 253 | printf("\nAttaching log stream ... OK\n"); |
| 254 | |
| 255 | unsigned int flags = 0; |
| 256 | if (imp.logFile.length()) { |
| 257 | flags |= aiDefaultLogStream_FILE; |
| 258 | } |
| 259 | if (imp.showLog) { |
| 260 | flags |= aiDefaultLogStream_STDERR; |
| 261 | } |
| 262 | DefaultLogger::create(imp.logFile.c_str(),imp.verbose ? Logger::VERBOSE : Logger::NORMAL,flags); |
| 263 | } |
| 264 | |
| 265 | |
| 266 | // ------------------------------------------------------------------------------ |
no outgoing calls
no test coverage detected