X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/899a6365838f7a7c1427676277ef72c934c1d1bb..4c4732c6ed8cb0aaa70fb2d4c6e5a958868c5349:/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