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

C/C++ API Documentation | 2025.1

# ErrorLog::UnsetSyslog()

Stop writing errors to `syslog`.

Virtual? | No |
Class | `ErrorLog` |
Arguments | None |
Returns | `void` |

## Notes

`UnsetSyslog()` reverses the effect of `SetSyslog()` by resetting the `Error` object to output to `stderr`.

## Example

The following example prints an error message to `syslog` and then resets the `Error` back to using `stderr` for output.

    ClientApi client;
    Error e;

    client.Init( &e );
    ErrorLog::SetSyslog();
    ErrorLog::Report();
    ErrorLog::UnsetSyslog();

Your search for returned results