summaryrefslogtreecommitdiff
path: root/vendor/fguillot/simpleLogger/src/SimpleLogger/Stderr.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-03-05 12:04:28 -0800
committerFrédéric Guillot <fred@kanboard.net>2018-03-05 12:04:28 -0800
commit299198f7181fccf1e9a684649d173a1ebbdfbd1e (patch)
treec2539efcfae3b193603bbff22dde8b84fd7f9981 /vendor/fguillot/simpleLogger/src/SimpleLogger/Stderr.php
parenta991758e98fc614d35ec67ec904c78fa0ff6feeb (diff)
Move SimpleLogger lib into app source tree
Diffstat (limited to 'vendor/fguillot/simpleLogger/src/SimpleLogger/Stderr.php')
-rw-r--r--vendor/fguillot/simpleLogger/src/SimpleLogger/Stderr.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/vendor/fguillot/simpleLogger/src/SimpleLogger/Stderr.php b/vendor/fguillot/simpleLogger/src/SimpleLogger/Stderr.php
deleted file mode 100644
index 2573177e..00000000
--- a/vendor/fguillot/simpleLogger/src/SimpleLogger/Stderr.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-namespace SimpleLogger;
-
-/**
- * Stderr logger
- *
- * @package SimpleLogger
- * @author Frédéric Guillot
- */
-class Stderr extends Base
-{
- /**
- * Logs with an arbitrary level.
- *
- * @param mixed $level
- * @param string $message
- * @param array $context
- * @return null
- */
- public function log($level, $message, array $context = array())
- {
- file_put_contents('php://stderr', $this->formatMessage($level, $message, $context), FILE_APPEND);
- }
-}