Let's print error messages to the builtin webserver console ... makes development a bit easier
This commit is contained in:
parent
96b28382d9
commit
a7ecb6e984
|
@ -101,6 +101,9 @@ class OC_Log_Owncloud {
|
||||||
// Fall back to error_log
|
// Fall back to error_log
|
||||||
error_log($entry);
|
error_log($entry);
|
||||||
}
|
}
|
||||||
|
if (php_sapi_name() === 'cli-server') {
|
||||||
|
error_log($message, 4);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue