From 5953ce76864451be7c62ff3854713bd3b4ba8316 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 25 Nov 2009 15:12:09 +0000 Subject: [PATCH] Started output_log plugin --- README | 2 ++ output_log.py | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 output_log.py diff --git a/README b/README index 509ed45..698d07c 100644 --- a/README +++ b/README @@ -4,3 +4,5 @@ output_twitter - For each entry produce a twitter posting. Requires python-twitter 0.5 or above. output_rtorrent - Load accepted entries into rtorrent + +output_log - Write entries to a log file diff --git a/output_log.py b/output_log.py new file mode 100644 index 0000000..4dd99c7 --- /dev/null +++ b/output_log.py @@ -0,0 +1,16 @@ +""" Output Log - Output entries to a simple log file """ +import logging +from flexget.plugin import * + +log = logging.getLogger('log') + +class OutputLog: + + def validator(self): + pass + + def get_config(self, feed): + pass + + def feed_exit(self, feed): + pass