1
0
Fork 0

log: Add the LogTest.st with some client code of the log framework

This commit is contained in:
Holger Hans Peter Freyther 2010-10-20 19:33:10 +02:00
parent 382a1eaf76
commit 13d560e419
1 changed files with 20 additions and 0 deletions

20
LogTest.st Normal file
View File

@ -0,0 +1,20 @@
LogArea subclass: LogAreaSCCP [
LogAreaSCCP class >> areaName [
^ #sccp
]
LogAreaSCCP class >> areaDescription [
^ 'SCCP related'
]
LogAreaSCCP class >> default [
^ self new
enabled: true;
minLevel: LogLevel debug;
yourself
]
]
Eval [
'123' logDebug: 'TEST' area: #sccp.
]