vladykin / miaow

Automatically exported from code.google.com/p/miaow
GNU General Public License v3.0
1 stars 0 forks source link

Provide logging facility #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Miaow needs some logging facility which can:
- accumulate messages of different types (info, warning, error) at runtime;
- catch failed assertions and uncaught exceptions,
- send collected messages to email on request.

This will allow to remove debugging info from miaow-generated web pages and
send all required failure info to a webmaster. A user should be presented
with a user-friendly page explaining that something went wrong (instead of
"Assertion failed" message).

Original issue reported on code.google.com by vlady...@gmail.com on 2 Aug 2007 at 8:30

GoogleCodeExporter commented 9 years ago
Work started. Initial version of Logger class is provided in revision 56.

Original comment by vlady...@gmail.com on 2 Aug 2007 at 7:30

GoogleCodeExporter commented 9 years ago
Reassigning to Alexey.

Original comment by vlady...@gmail.com on 17 Oct 2009 at 9:29

GoogleCodeExporter commented 9 years ago
Look at Log4J (Java logging framework) and PEAR::Log (PHP logging framework) for
inspiration.

Original comment by vlady...@gmail.com on 20 Oct 2009 at 10:35

GoogleCodeExporter commented 9 years ago
Let's move in small simple steps.
Please make Logger write its messages to a log file `logs/log.DATE-TIME`.

Original comment by vlady...@gmail.com on 20 Oct 2009 at 9:42