Berserk
Public Member Functions | List of all members
Output Class Referencefinal

Unified console output for utf-8 text. More...

#include <Output.hpp>

Public Member Functions

BRK_API Output ()=default
 
BRK_API ~Output ()=default
 
BRK_API void Write (const String &text)
 Write text to system console. More...
 
BRK_API void WriteWarning (const String &text)
 Write warning text to system console. More...
 
BRK_API void WriteError (const String &text)
 Write error text to system console. More...
 

Detailed Description

Unified console output for utf-8 text.

Constructor & Destructor Documentation

◆ Output()

BRK_API Output::Output ( )
default

◆ ~Output()

BRK_API Output::~Output ( )
default

Member Function Documentation

◆ Write()

BRK_NS_BEGIN void Output::Write ( const String text)

Write text to system console.

Writes text to system console. Automatically converts encoding of th string.

Parameters
textUtf-8 encoded string text

◆ WriteError()

void Output::WriteError ( const String text)

Write error text to system console.

Writes text to system console. Automatically converts encoding of th string.

Parameters
textUtf-8 encoded string text

◆ WriteWarning()

void Output::WriteWarning ( const String text)

Write warning text to system console.

Writes text to system console. Automatically converts encoding of th string.

Parameters
textUtf-8 encoded string text

The documentation for this class was generated from the following files: