From cb69d2e1c7ced951cbf7a31ee286b0ed92cab8a8 Mon Sep 17 00:00:00 2001 From: rcoh Date: Fri, 18 Feb 2011 16:56:43 -0500 Subject: Adding Epydoc generated docs. --- html/SmootLight.logger.Logger-pysrc.html | 181 +++++++++++++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 html/SmootLight.logger.Logger-pysrc.html (limited to 'html/SmootLight.logger.Logger-pysrc.html') diff --git a/html/SmootLight.logger.Logger-pysrc.html b/html/SmootLight.logger.Logger-pysrc.html new file mode 100644 index 0000000..8f21c97 --- /dev/null +++ b/html/SmootLight.logger.Logger-pysrc.html @@ -0,0 +1,181 @@ + + + + + SmootLight.logger.Logger + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package SmootLight :: + Package logger :: + Module Logger + + + + + + +
[hide private]
[frames] | no frames]
+
+

Source Code for Module SmootLight.logger.Logger

+
+ 1  import logging 
+ 2  import logging.config 
+ 3   
+ 4  logging.config.fileConfig("logger/loggingConfig.ini") 
+ 5   
+ 6  # create logger 
+ 7  screen_log = logging.getLogger("root") 
+ 8  main_log = logging.getLogger("smoot_light") 
+ 9  exception_log = logging.getLogger("exception") 
+10   
+11  #test code -- won't work unless file is imported by a file from the directory above this "logger" directory 
+12  #main_log.debug("debug mesage") 
+13  #main_log.info("info message") 
+14  #main_log.warn("warn message") 
+15  #main_log.error("error message") 
+16  #main_log.critical("critical message") 
+17  #exception_log.critical("hi") 
+18  #screen_log.error("whoa hello") 
+19   
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + -- cgit v1.2.3