Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2025.2

# 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" );

Your search for returned results