457866bf4ecc2d227bf4d434cc901349374f451e
[minwii.git] / src / app / log.py
1 # -*- coding: utf-8 -*-
2 """
3 utilitaires pour tracer l'activité de miiwii
4
5 $Id$
6 $URL$
7 """
8
9 from events import TIMEOUT, COLOVER, eventNames
10 from event_pprinters import pprinters
11 import sys
12 import pygame
13 from logging import basicConfig, getLogger, DEBUG
14
15 basicConfig(level=DEBUG, stream = sys.stdout)
16 console = getLogger('minwii')
17 eventLog = getLogger('minwii.events')
18
19 hiddenEvents = {pygame.MOUSEMOTION:True,
20 TIMEOUT:True,
21 #COLOVER:True,
22 }