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/Exception.h

    r8788 r8804  
    176176    inline const T& exceptionThrowerHelper(const T& exception)
    177177    {
    178         // let the catcher decide whether to display the message below level 4
    179         COUT(4) << exception.getFullDescription() << std::endl;
     178        // let the catcher decide whether to display the message also to the user
     179        orxout(internal_error) << exception.getFullDescription() << endl;
    180180        return exception;
    181181    }
Note: See TracChangeset for help on using the changeset viewer.