projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
envoi des événements NOTEON et NOTEOFF du synthé.
[minwii.git]
/
src
/
app
/
log.py
diff --git
a/src/app/log.py
b/src/app/log.py
index
ca10200
..
f07e3d2
100755
(executable)
--- a/
src/app/log.py
+++ b/
src/app/log.py
@@
-25,7
+25,7
@@
class EventLoggerAdapter(logging.LoggerAdapter) :
FORMAT = "%(ticks)-10s %(eventName)-15s %(message)s"
def process(self, msg, kwargs) :
FORMAT = "%(ticks)-10s %(eventName)-15s %(message)s"
def process(self, msg, kwargs) :
- pp = pprinters.get(msg.type, lambda e:
''
)
+ pp = pprinters.get(msg.type, lambda e:
str(e)
)
extra = {}
extra['eventType'] = msg.type
extra['eventName'] = eventNames[msg.type]
extra = {}
extra['eventType'] = msg.type
extra['eventName'] = eventNames[msg.type]
@@
-55,4
+55,4
@@
_eventLogger.addHandler(_eventHandler)
_eventLogger.addFilter(EventFilter())
eventLogger = EventLoggerAdapter(_eventLogger, {})
_eventLogger.addFilter(EventFilter())
eventLogger = EventLoggerAdapter(_eventLogger, {})
-
+#eventLogger = logging.getLogger('minwii.events')