pub unsafe extern "C" fn dr_log(
drcontext: *mut c_void,
mask: uint,
level: uint,
fmt: *const c_char,
...
)Expand description
Writes to DR’s log file for the thread with drcontext \p drcontext if the current loglevel is >= \p level and the current \p logmask & \p mask != 0. The mask constants are the DR_LOG_* defines below. Logging is disabled for the release build. If \p drcontext is NULL, writes to the main log file.