_debug: mention current PID
This commit is contained in:
parent
e620f72f32
commit
b7ff666fe8
|
@ -77,6 +77,7 @@
|
||||||
|
|
||||||
function _debug($msg) {
|
function _debug($msg) {
|
||||||
$ts = strftime("%H:%M:%S", time());
|
$ts = strftime("%H:%M:%S", time());
|
||||||
|
$ts = "$ts/" . posix_getpid();
|
||||||
print "[$ts] $msg\n";
|
print "[$ts] $msg\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue