@@ 104-106 (lines=3) @@ | ||
101 | $message = '['.$this->getColoredString('ALERT', 'red').']'."\t".$message; |
|
102 | break; |
|
103 | ||
104 | case LogLevel::CRITICAL: |
|
105 | $message = '['.$this->getColoredString('CRIT', 'red').']'."\t".$message; |
|
106 | break; |
|
107 | ||
108 | case LogLevel::ERROR: |
|
109 | $message = '['.$this->getColoredString('ERR', 'light_red').']'."\t".$message; |
|
@@ 116-118 (lines=3) @@ | ||
113 | $message = '['.$this->getColoredString('WARN', 'yellow').']'."\t".$message; |
|
114 | break; |
|
115 | ||
116 | case LogLevel::INFO: |
|
117 | $message = '['.$this->getColoredString('INFO', 'cyan').']'."\t".$message; |
|
118 | break; |
|
119 | ||
120 | case LogLevel::NOTICE: |
|
121 | $message = '['.$this->getColoredString('NOTICE', 'green').']'."\t".$message; |
|
@@ 124-126 (lines=3) @@ | ||
121 | $message = '['.$this->getColoredString('NOTICE', 'green').']'."\t".$message; |
|
122 | break; |
|
123 | ||
124 | case LogLevel::DEBUG: |
|
125 | $message = '['.$this->getColoredString('DEBUG', 'blue').']'."\t".$message; |
|
126 | break; |
|
127 | } |
|
128 | ||
129 | echo $message."\n"; |