* morituri/common/log.py:

Add external log module and use it.
This commit is contained in:
Thomas Vander Stichele
2009-05-01 08:13:35 +00:00
parent ea5fdb8ef5
commit 0cfa2d915a
2 changed files with 37 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2009-05-01 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/common/log.py:
Add external log module and use it.
2009-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/test/cure.toc (added):

32
morituri/common/log.py Normal file
View File

@@ -0,0 +1,32 @@
# -*- Mode: Python; test-case-name: morituri.test.test_common_checksum -*-
# vi:si:et:sw=4:sts=4:ts=4
# Morituri - for those about to RIP
# Copyright (C) 2009 Thomas Vander Stichele
# This file is part of morituri.
#
# morituri is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# morituri is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with morituri. If not, see <http://www.gnu.org/licenses/>.
"""
Logging
"""
from morituri.extern.log import log as externlog
from morituri.extern.log.log import *
def init():
externlog.init('RIP_DEBUG')
externlog.setPackageScrubList('morituri')