Class Logger
This class is used to log data in /logs directory. You can use it to log the action of the users on the application, for example to make stats.
- Hawk\Singleton
-
Hawk\Logger
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
Methods inherited from Hawk\Singleton
Constants summary
string |
LEVEL_DEBUG
|
#
'debug'
|
string |
LEVEL_INFO
|
#
'info'
|
string |
LEVEL_NOTICE
|
#
'notice'
|
string |
LEVEL_WARNING
|
#
'warning'
|
string |
LEVEL_ERROR
|
#
'error'
|
integer |
MAX_FILE_SIZE
|
#
204800
|
integer |
MAX_FILES_BY_LEVEL
|
#
9
|
Properties summary
protected static
|
$instance
The logger instance |