diff options
author | Dan Horrigan <dan@dhorrigan.com> | 2014-03-18 16:18:29 -0400 |
---|---|---|
committer | Dan Horrigan <dan@dhorrigan.com> | 2014-03-18 16:18:29 -0400 |
commit | 1d7b9247010ad829ffb1a121d7f7e1d7dd8cac04 (patch) | |
tree | a455c871ab0914dd4e214062d14051cc9d9fc547 | |
parent | 490d1a3b26159e3e801ff3a21e6e8bf27db825b6 (diff) | |
download | KLogger-1d7b9247010ad829ffb1a121d7f7e1d7dd8cac04.zip KLogger-1d7b9247010ad829ffb1a121d7f7e1d7dd8cac04.tar.gz KLogger-1d7b9247010ad829ffb1a121d7f7e1d7dd8cac04.tar.bz2 |
Adding setLogLevelThreshold method.
-rwxr-xr-x | src/Logger.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Logger.php b/src/Logger.php index 2da1472..d007b0c 100755 --- a/src/Logger.php +++ b/src/Logger.php @@ -117,6 +117,16 @@ class Logger extends AbstractLogger }
/**
+ * Sets the Log Level Threshold
+ *
+ * @param string $dateFormat Valid format string for date()
+ */
+ public function setLogLevelThreshold($logLevelThreshold)
+ {
+ $this->logLevelThreshold = $logLevelThreshold;
+ }
+
+ /**
* Logs with an arbitrary level.
*
* @param mixed $level
|