mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
tweak debug messages
This commit is contained in:
parent
cc789ca786
commit
6af39da3a6
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ let _enable_debug b = _debug_on := b
|
|||
let _debug k =
|
||||
if !_debug_on then (
|
||||
k (fun fmt->
|
||||
Printf.fprintf stdout "[thread %d]: " Thread.(id @@ self());
|
||||
Printf.fprintf stdout "[http.thread %d]: " Thread.(id @@ self());
|
||||
Printf.kfprintf (fun oc -> Printf.fprintf oc "\n%!") stdout fmt)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue