14 Logger* Logger::_instance = NULL;
17 Logger::Logger () : _logStream (&std::cout) {
22 Logger::Logger (
const Logger&) : _logStream (&std::cout) {
28 : _level (iLevel), _logStream (&ioLogStream) {
42 std::ostream& Logger::getLogStream() {
43 assert (_logStream != NULL);
49 std::ostream& ioLogStream) {
51 _logStream = &ioLogStream;
56 if (_instance == NULL) {
59 assert (_instance != NULL);
61 FacSupervisor::instance().registerLoggerService (_instance);