Skip to content

Commit 2e42f4d

Browse files
committed
removed timestamp from logs (PHP logs already have timestamps)
1 parent f5fe74d commit 2e42f4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ function printService($service){
102102
* Message logging
103103
*/
104104
function info($msg){
105-
error_log(date('Y-m-d H:i:s') . ' [INFO] ' . $msg);
105+
error_log('[INFO] ' . $msg);
106106
}
107107
function error($msg){
108-
error_log(date('Y-m-d H:i:s') . ' [ERROR] ' . $msg);
108+
error_log('[ERROR] ' . $msg);
109109
}
110110

111111
/**

0 commit comments

Comments
 (0)