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.UTF8LogFormatter-pysrc.html | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 html/SmootLight.logger.UTF8LogFormatter-pysrc.html (limited to 'html/SmootLight.logger.UTF8LogFormatter-pysrc.html') diff --git a/html/SmootLight.logger.UTF8LogFormatter-pysrc.html b/html/SmootLight.logger.UTF8LogFormatter-pysrc.html new file mode 100644 index 0000000..1003543 --- /dev/null +++ b/html/SmootLight.logger.UTF8LogFormatter-pysrc.html @@ -0,0 +1,120 @@ + + + + + SmootLight.logger.UTF8LogFormatter + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package SmootLight :: + Package logger :: + Module UTF8LogFormatter + + + + + + +
[hide private]
[frames] | no frames]
+
+

Source Code for Module SmootLight.logger.UTF8LogFormatter

+
+ 1  from logging import Formatter 
+ 2   
+
3 -class UTF8LogFormatter(Formatter): +
4 - def format(self, record): +
5 try: + 6 return Formatter.format(self, record) + 7 except Exception, e: + 8 return Formatter.format(self, record).encode('utf8') +
9 +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + -- cgit v1.2.3