Indicates if a particular debug tag is set.
void INKError (const char
*fmt,
...
)
is the printf
format description.fmt
...
is the argument for the format
description.
Since it is sometimes useful to log messages when errors occur,
Traffic Server provides a global error log file for this purpose. The function INKError
is the API interface to
this error log. INKError
is similar to printf
, except that
INKError
writes output to the Traffic Server error log instead of writing the output to the C standard output. One advantage of INKError
over printf
is that each call is atomically placed into
the error log and is not garbled with other error entries (this
is not an issue in single-threaded programs, but is a definite
nuisance in multi-threaded programs).
INKError ("couldn't retrieve client request header\n");