\JLogInspector
JLogInspector class.
Synopsis
class JLogInspector
extends JLog
{
- // Inherited constants from JLog
- const ALL = 30719;
- const EMERGENCY = 1;
- const ALERT = 2;
- const CRITICAL = 4;
- const ERROR = 8;
- const WARNING = 16;
- const NOTICE = 32;
- const INFO = 64;
- const DEBUG = 128;
- // members
- public $configurations;
- public $loggers;
- public $lookup;
- public $queue;
- // Inherited members from JLog
- protected JLog $instance;
- protected $configurations;
- protected $loggers;
- protected $lookup;
- // methods
- public void __construct()
- public static void clearInstance()
- public void addLogEntry()
- public void findLoggers()
- // Inherited methods from JLog
- protected void __construct()
- public static void add()
- public static void addLogger()
- public static void setInstance()
- protected void addLogEntry()
- protected array findLoggers()
Hierarchy
Extends
Constants
Name | Value |
---|---|
ALL | 30719 |
EMERGENCY | 1 |
ALERT | 2 |
CRITICAL | 4 |
ERROR | 8 |
WARNING | 16 |
NOTICE | 32 |
INFO | 64 |
DEBUG | 128 |
Members
protected
- $configurations
—
array
Container for JLogLogger configurations. - $instance
—
JLog
The global JLog instance. - $loggers
—
array
Container for JLogLogger objects. - $lookup
—
array
Lookup array for loggers.
public
- $configurations
- $loggers
- $lookup
- $queue
Methods
public
- __construct() — Constructor.
- addLogEntry() — Test...
- clearInstance() — Test...
- findLoggers() — Test...
Inherited from JLog
protected
- addLogEntry() — Method to add an entry to the appropriate loggers.
- findLoggers() — Method to find the loggers to use based on priority and category values.
public
- add() — Method to add an entry to the log.
- addLogger() — Add a logger to the JLog instance. Loggers route log entries to the correct files/systems to be logged.
- setInstance() — Returns a reference to the a JLog object, only creating it if it doesn't already exist.