Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 30, 2011, 11:06:36 PM (13 years ago)
Author:
landauf
Message:

Replaced COUT in util with orxout.
Used user_error for Exceptions and Assertions because I assume they're only used in very critical situations. Same with Signal Handler.
Clipboard shows user_errors because it's used only with user interaction.
Other output is mostly internal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/util/ScopedSingletonManager.h

    r8706 r8804  
    231231                { singletonPtr_ = new T(); }
    232232            catch (const InitialisationAbortedException& ex)
    233                 { COUT(3) << ex.getDescription() << std::endl; }
     233                { orxout(internal_error) << ex.getDescription() << endl; }
    234234            catch (...)
    235                 { COUT(1) << "Singleton creation failed: " << Exception::handleMessage() << std::endl; }
     235                { orxout(internal_error) << "Singleton creation failed: " << Exception::handleMessage() << endl; }
    236236        }
    237237
Note: See TracChangeset for help on using the changeset viewer.