示例#1
0
 public static function __init()
 {
     if (self::$__log_level === null) {
         if (defined('LOG_LEVEL') && array_key_exists(LOG_LEVEL, self::$__log_levels)) {
             self::$__log_level = LOG_LEVEL;
         } else {
             self::$__log_level = self::$__default_log_level;
         }
     }
 }