Mercurial > SimpleWebPresenter
comparison logger.inc @ 51:2cfea6e84694
Documentation update.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 11 Oct 2012 00:06:26 +0200 |
| parents | 66382989353f |
| children | 164268b4e0d9 |
comparison
equal
deleted
inserted
replaced
| 50:2d0cda52f43f | 51:2cfea6e84694 |
|---|---|
| 1 <?php | 1 <?php |
| 2 /** | |
| 3 * @file | |
| 4 * Common access point for logging | |
| 5 */ | |
| 2 function logMsg($level, $msg) | 6 function logMsg($level, $msg) |
| 3 { | 7 { |
| 4 if (DEBUG_LEVEL >= $level) { | 8 if (DEBUG_LEVEL >= $level) { |
| 5 print $msg; | 9 print $msg; |
| 6 if(ABORT_ON_LOG) | 10 if(ABORT_ON_LOG) |
