Class Core_Log
Log system. Notify if status >= MAIL_EVENTS_STATUS. To disable notification call ->notify(FALSE)
Core_Log::instance()->clear() ->status(Core_Log::$MESSAGE) ->write('text');
Package: HostCMS\Core
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at core/log.php
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at core/log.php
Methods summary
protected
|
|
public static
object
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
protected
|
|
public
|
Properties summary
public static
integer
|
$MESSAGE
Backend property |
#
0
|
public static
integer
|
$SUCCESS
Backend property |
#
1
|
public static
integer
|
$NOTICE
Backend property |
#
2
|
public static
integer
|
$WARNING
Backend property |
#
3
|
public static
integer
|
$ERROR
Backend property |
#
4
|
protected
string
|
$_logDir
Logs directory |
#
NULL
|
protected
integer
|
$_status
Status |
#
0
|
protected
string
|
$_login
User login |
#
NULL
|
protected
string
|
$_site
Name of the site |
#
NULL
|
protected
boolean
|
$_notify
E-mail notify mode |
#
TRUE
|