From 5dc1eea8982ea5a34520d5af1d199f4c24fca16c Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Fri, 24 May 2013 03:31:17 +0200 Subject: [PATCH] just some coding style fixes --- lib/core/logger.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/core/logger.py b/lib/core/logger.py index 69f3b99..c5516f5 100644 --- a/lib/core/logger.py +++ b/lib/core/logger.py @@ -5,17 +5,18 @@ import os.path as path class Logger(): - """Logger class that prints its messages and keeps them also inside a logfile""" + """ + Logger class that prints its messages and keeps them also inside a logfile + """ def __init__(self, logfile="./linspector.log", logLevel=logging.DEBUG, logfileLevel=logging.DEBUG): """ -initializes a new Logger object. + initializes a new Logger object. -params: -logLevel the LoggingLevel from the console output (DEBUG default) -logfile the file where to log. Logs are rotated by default. -logfileLevel the LoggingLevel for the file Logger. (DEBUG default) -""" + :param logLevel: the LoggingLevel from the console output (DEBUG default) + :param logfile: the file where to log. Logs are rotated by default. + :param logfileLevel: the LoggingLevel for the file Logger. (DEBUG default) + """ logfile = path.expanduser(logfile) if not path.exists(path.dirname(logfile)):