Fovia's C++ Client/Server API
Public Member Functions | List of all members
ILogger Struct Referenceabstract

Public Member Functions

virtual signed int OutputErrorString (const char *msg)=0
 
virtual signed int OutputLogString (const char *msg)=0
 

Detailed Description

Implement this interface if you wish to use your own custom log stream in the C++ client/server API by calling IServerContext::Connect() and IServerContext::ConnectEx().

Member Function Documentation

virtual signed int ILogger::OutputErrorString ( const char *  msg)
pure virtual

Outputs the error message contained in msg.

Parameters
msgThe message to output.
virtual signed int ILogger::OutputLogString ( const char *  msg)
pure virtual

Output the log message contained in msg.

Parameters
msgThe message to output.