HH\hphp_get_logger_request_id

Gets an integer which when combined with the thread ID (hphp_get_thread_id) and process id (posix_getpid), can be used to uniquely identify log lines generated by the current request

namespace HH;

function hphp_get_logger_request_id(): int;

Returns

  • int - - the per-thread request id used by logger to identify the current request.