change default log mode to AUTO

This commit is contained in:
coderkun 2015-08-10 20:24:52 +02:00
parent ca03de048e
commit 4beeac80ac

View file

@ -64,7 +64,7 @@
* @param string $message Message to log
* @param int $logMode Log mode to use
*/
public function log($message, $logMode=self::LOGMODE_SCREEN)
public function log($message, $logMode=self::LOGMODE_AUTO)
{
// Choose log mode automatically
if($logMode == self::LOGMODE_AUTO) {