Logger: implement getWriter() and getInstance()

refs #7060
This commit is contained in:
Alexander Klimov 2014-09-03 12:02:11 +02:00
parent 70cf14f775
commit 6aeab59ead
1 changed files with 10 additions and 0 deletions

View File

@ -194,4 +194,14 @@ class Logger
static::$instance->log(static::formatMessage(func_get_args()), static::$DEBUG);
}
}
public function getWriter()
{
return $this->writer;
}
public static function getInstance()
{
return static::$instance;
}
}