mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-12 08:04:10 +02:00
Gelato ErrorHandler and Logger improvments
This commit is contained in:
@@ -81,7 +81,7 @@ class Log
|
||||
*/
|
||||
public static function write($message, $type = Log::ERROR)
|
||||
{
|
||||
$file = rtrim(Log::$path, '/') . '/' . Log::$types[$type] . '_' . gmdate('Y_m_d') . '.log';
|
||||
$file = rtrim(Log::$path, '/') . '/' . gmdate('Y_m_d') . '.log';
|
||||
|
||||
$message = '[' . gmdate('d-M-Y H:i:s') . '] ' . $message . PHP_EOL;
|
||||
|
||||
|
Reference in New Issue
Block a user