X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/899a6365838f7a7c1427676277ef72c934c1d1bb..90331dd4caff60e9517c862101a37d1ae4ee00d1:/src/app/log.py diff --git a/src/app/log.py b/src/app/log.py index 725abac..abbb858 100755 --- a/src/app/log.py +++ b/src/app/log.py @@ -6,19 +6,18 @@ $Id$ $URL$ """ -from events import TIMEOUT, COLOVER, eventNames +from events import COLOVER, eventNames from event_pprinters import pprinters import sys import pygame import logging import os import datetime -LOG_FORMAT_VERSION='1.0-alpha' +LOG_FORMAT_VERSION='1.0' hiddenEvents = {pygame.MOUSEMOTION:True, pygame.MOUSEBUTTONDOWN:True, pygame.MOUSEBUTTONUP:True, - TIMEOUT:True, #COLOVER:True, } @@ -26,9 +25,6 @@ logsdir = os.path.join(os.path.expanduser('~'), 'minwii_logs') if not os.path.exists(logsdir) : os.mkdir(logsdir) -#logfile = os.path.join(logsdir, datetime.datetime.now().strftime('%Y-%m-%d-%H_%M_%S.log')) -#logfile = open(logfile, 'w') - class MinWiiStreamHandler(logging.StreamHandler) : logfile = None