CORE POS - Fannie
The CORE POS back end
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
FannieLogger Class Reference
Inheritance diagram for FannieLogger:

Public Member Functions

 getLogLocation ($int_level)
 
 verboseDebugging ()
 

Static Public Member Functions

static factory ()
 

Protected Attributes

 $programName = 'fannie'
 

Detailed Description

Logging class that matches the spec for PSR-3 LoggerInterface If the actual interface definition is available via composer FannieLogger formally implements it; otherwise it just contains the same public methods. Either way the actual functionality is inherited from FannieBaseLogger.

Member Function Documentation

static FannieLogger::factory ( )
static

If monolog is present, use monolog instead of FannieLogger. When using monolog file based logging to fannie/logs/fannie.log is enabled automatically. If a fannie/logs/monolog.php file is present that file is included here. Its purpose is to add any additional, custom handlers.

FannieLogger::getLogLocation (   $int_level)

Get filename for log

Parameters
[integer]log level constant
Returns
[string] filename or [boolean] false

The documentation for this class was generated from the following file: