/** * gets instance of this class * * @return tr_log */ public static function getInstance() { if (self::$_instance === null) { self::$_instance = new self(); } return self::$_instance; }
static function info($value) { if (!tr::config()->get("app.debug")) { return; } tr_log::info($value); }