ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilLogLevel Class Reference

Logging factory. More...

+ Collaboration diagram for ilLogLevel:

Static Public Member Functions

static getLevels ()
 
static getLevelOptions ()
 Get log level options. More...
 

Data Fields

const DEBUG = 100
 
const INFO = 200
 
const NOTICE = 250
 
const WARNING = 300
 
const ERROR = 400
 
const CRITICAL = 500
 
const ALERT = 550
 
const EMERGENCY = 600
 
const OFF = 1000
 

Detailed Description

Logging factory.

This class supplies an implementation for the locator. The locator will send its output to ist own frame, enabling more flexibility in the design of the desktop.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 15 of file class.ilLogLevel.php.

Member Function Documentation

◆ getLevelOptions()

static ilLogLevel::getLevelOptions ( )
static

Get log level options.

Returns
type

Definition at line 50 of file class.ilLogLevel.php.

References $lng, array, and DEBUG.

Referenced by ilLogComponentTableGUI\fillRow(), and ilObjLoggingSettingsGUI\initFormSettings().

51  {
52  global $lng;
53 
54  return array(
55  self::DEBUG => $lng->txt('log_level_debug'),
56  self::INFO => $lng->txt('log_level_info'),
57  self::NOTICE => $lng->txt('log_level_notice'),
58  self::WARNING => $lng->txt('log_level_warning'),
59  self::ERROR => $lng->txt('log_level_error'),
60  self::CRITICAL => $lng->txt('log_level_critical'),
61  self::ALERT => $lng->txt('log_level_alert'),
62  self::EMERGENCY => $lng->txt('log_level_emergency'),
63  self::OFF => $lng->txt('log_level_off')
64  );
65  }
const DEBUG
Create styles array
The data for the language used.
global $lng
Definition: privfeed.php:17
+ Here is the caller graph for this function:

◆ getLevels()

static ilLogLevel::getLevels ( )
static

Definition at line 30 of file class.ilLogLevel.php.

References array, and DEBUG.

Referenced by ilLogger\logStack(), and ilLogger\write().

31  {
32  return array(
34  self::INFO,
35  self::NOTICE,
36  self::WARNING,
37  self::ERROR,
38  self::CRITICAL,
39  self::ALERT,
40  self::EMERGENCY,
41  self::OFF
42  );
43  }
const DEBUG
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

Field Documentation

◆ ALERT

const ilLogLevel::ALERT = 550

Definition at line 23 of file class.ilLogLevel.php.

◆ CRITICAL

const ilLogLevel::CRITICAL = 500

Definition at line 22 of file class.ilLogLevel.php.

Referenced by ilLog\__construct().

◆ DEBUG

◆ EMERGENCY

const ilLogLevel::EMERGENCY = 600

Definition at line 24 of file class.ilLogLevel.php.

◆ ERROR

◆ INFO

◆ NOTICE

const ilLogLevel::NOTICE = 250

Definition at line 19 of file class.ilLogLevel.php.

◆ OFF

const ilLogLevel::OFF = 1000

Definition at line 26 of file class.ilLogLevel.php.

◆ WARNING


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