* introduce globalWarningStream()

This commit is contained in:
Garux
2018-03-15 01:18:16 +03:00
parent 5bf0dd5243
commit 45a38ae48e
6 changed files with 29 additions and 0 deletions

View File

@@ -322,6 +322,7 @@ typedef Static<PopupDebugMessageHandler> GlobalPopupDebugMessageHandler;
void streams_init(){
GlobalErrorStream::instance().setOutputStream( getSysPrintErrorStream() );
GlobalWarningStream::instance().setOutputStream( getSysPrintWarningStream() );
GlobalOutputStream::instance().setOutputStream( getSysPrintOutputStream() );
}