From 7c016cce9a5f092397b737ffe2d4a3336c955229 Mon Sep 17 00:00:00 2001 From: John Luxford Date: Fri, 7 Feb 2020 09:09:21 -0600 Subject: [PATCH] Added Echo handler to output directly to the console, close #37 --- README.md | 1 + lib/Analog/Handler/Echo.php | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 lib/Analog/Handler/Echo.php diff --git a/README.md b/README.md index e282f94..bc0a796 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ with examples for each in the examples folder. These include: * Apprise - Send notifications through the [apprise](https://github.com/caronc/apprise) command line tool * Buffer - Buffer messages to send all at once (works with File, Mail, Stderr, and Variable handlers) * ChromeLogger - Sends messages to [Chrome Logger](http://craig.is/writing/chrome-logger) browser plugin +* Echo - Echo output directly to the console * File - Append messages to a file * FirePHP - Send messages to [FirePHP](http://www.firephp.org/) browser plugin * GELF - Send message to the [Graylog2](http://www.graylog2.org/) log management server diff --git a/lib/Analog/Handler/Echo.php b/lib/Analog/Handler/Echo.php new file mode 100644 index 0000000..054c07d --- /dev/null +++ b/lib/Analog/Handler/Echo.php @@ -0,0 +1,22 @@ +