|
SeasLog::getRequestIDGet SeasLog request_id differentiated requests Description
public static string SeasLog::getRequestID()
To distinguish a single request, such as not invoking the SeasLog::setRequestId function, the unique value generated by the built-in `static char *get_uniqid ()` function is used when the request is initialized. ParametersThis function has no parameters. Return ValuesReturn string generated by the built-in `static char *get_uniqid ()` function, or setted by SeasLog::setRequestId function. ExamplesExample #1 SeasLog::getRequestID example
The above example will output something similar to: string(13) "5b3f21a209519" bool(true) string(26) "reqeust_id_test_1530864034" See Also
|