| 210 | //----------------------------------------------------------------------------- |
| 211 | |
| 212 | void ConsoleLogger::log( const char *consoleLine ) |
| 213 | { |
| 214 | // Check to see if this is intalized before using it |
| 215 | if( !smInitialized ) |
| 216 | { |
| 217 | if( !init() ) |
| 218 | { |
| 219 | Con::errorf( "I don't know how this happened, but log called on this without it being initialized" ); |
| 220 | return; |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | mStream.writeLine( (U8 *)consoleLine ); |
| 225 | } |
| 226 | |
| 227 | //----------------------------------------------------------------------------- |
| 228 |
no test coverage detected