comparison logger.inc @ 53:2e6ba7259281

Merge
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Thu, 11 Oct 2012 00:54:54 +0200
parents 2cfea6e84694
children 164268b4e0d9
comparison
equal deleted inserted replaced
52:3898353ed1d8 53:2e6ba7259281
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)