From 556a2d56f8c0d09df561e8cbaf3893709cf1e627 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Fri, 14 Aug 2009 12:08:17 +0000
Subject: [PATCH] SimpleSAML_Logger: Remove old (commented out) logger class.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1669 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Logger.php | 41 ---------------------------------------
 1 file changed, 41 deletions(-)

diff --git a/lib/SimpleSAML/Logger.php b/lib/SimpleSAML/Logger.php
index 4a66f47f5..6aaadc73f 100644
--- a/lib/SimpleSAML/Logger.php
+++ b/lib/SimpleSAML/Logger.php
@@ -213,44 +213,3 @@ class SimpleSAML_Logger {
 		return self::$trackid;
 	}
 }
-
-
- /*
-class SimpleSAML_Logger {
-
-
-	private $configuration = null;
-	private $loglevel = LOG_NOTICE;
-
-	public function __construct() {
-
-		$this->configuration = SimpleSAML_Configuration::getInstance();
-		$this->loglevel = $this->configuration->getValue('logging.level');
-		
-		define_syslog_variables();
-		openlog("simpleSAMLphp", LOG_PID, $this->configuration->getValue('logging.facility') );
-		
-	}
-	public function log($priority, $trackid = null, $module, $submodule, $eventtype, $content, $message) {
-
-		if ($priority > $this->loglevel) return;
-		if ($trackid == null) {
-			$trackid = 'na';
-		}
-		
-		$contentstring = '';
-		if (is_array($content)) {
-			$contentstring = implode('|', $content); 
-		} else {
-			$contentstring = $content; 
-		}
-		
-		$logstring = implode(',', array($priority, $trackid, $module, $submodule, $eventtype, $contentstring, $message));
-		syslog($priority, " OLD ".$logstring);
-	
-	}
-}
-*/
-
-
-?>
\ No newline at end of file
-- 
GitLab