I would recommend having it like TSDebug and TSError. tsapi void TSEmergency(const char *fmt, ...) TS_PRINTFLIKE(1, 2);
TSDebug and TSError: tsapi void TSDebug(const char *tag, const char *format_str, ...) TS_PRINTFLIKE(2, 3); tsapi void TSError(const char *fmt, ...) TS_PRINTFLIKE(1, 2); -Bryan > On Jun 17, 2019, at 2:13 PM, Fei Deng <duke8...@apache.org> wrote: > > void TSEmergencyShutdown(const char *log_msg); > > This API is a wrapper for the "Emergency" call, which signals > traffic_manager to not restart traffic_server after the shutdown, i.e. this > call should be used when something has gone wrong and cannot be recovered > by a restart.