ErrorLog::SetTag( const char * )

Changes the standard tag used by this Error’s Report() method.

Virtual?

No

 

Class

ErrorLog

 

Arguments

const char *tag

the text of the new tag

Returns

void

 

Notes

The default tag is “Error”. SetTag() sets the new tag for the specified Error object only.

Example

The following example resets the tag on an Error to be “NewError”.

ClientApi client;
Error e;

client.Init( &e );
ErrorLog::SetTag( "NewError" );