log: Add the LogTest.st with some client code of the log framework
This commit is contained in:
parent
382a1eaf76
commit
13d560e419
|
@ -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.
|
||||
]
|
Reference in New Issue