Mercurial > libervia-web
comparison browser_side/logging.py @ 443:eca26481176f
use of new config module for logs
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 14 May 2014 12:52:27 +0200 |
parents | 88461e9c3e47 |
children |
comparison
equal
deleted
inserted
replaced
442:17259c2ff96f | 443:eca26481176f |
---|---|
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 """This module configure logs for Libervia browser side""" | 19 """This module configure logs for Libervia browser side""" |
20 | 20 |
21 from __pyjamas__ import console | 21 from __pyjamas__ import console |
22 from constants import Const as C | 22 from constants import Const as C |
23 from sat.core import log | 23 from sat.core import log # XXX: we don't use core.log_config here to avoid the impossible imports in pyjamas |
24 | 24 |
25 | 25 |
26 class LiberviaLogger(log.Logger): | 26 class LiberviaLogger(log.Logger): |
27 | 27 |
28 def out(self, message, level=None): | 28 def out(self, message, level=None): |