osmo: Create a new LogArea for the osmo area.
This commit is contained in:
parent
dd54429310
commit
75587966d3
1
Makefile
1
Makefile
|
@ -38,6 +38,7 @@ UA = \
|
|||
ua/M2UA.st
|
||||
|
||||
OSMO = \
|
||||
osmo/LogAreaOsmo.st \
|
||||
osmo/OsmoUDPSocket.st osmo/OsmoCtrlLogging.st \
|
||||
osmo/OsmoCtrlGrammar.st osmo/OsmoAppConnection.st \
|
||||
osmo/OsmoCtrlConnection.st osmo/OsmoCtrlGrammarTest.st
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
"
|
||||
(C) 2013 by Holger Hans Peter Freyther
|
||||
All Rights Reserved
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"
|
||||
|
||||
LogArea subclass: LogAreaOsmo [
|
||||
|
||||
<comment: nil>
|
||||
<category: 'OsmoNetwork-Socket'>
|
||||
|
||||
LogAreaOsmo class >> areaDescription [
|
||||
^'Osmo socket/connection releated code'
|
||||
]
|
||||
|
||||
LogAreaOsmo class >> areaName [
|
||||
^#osmo
|
||||
]
|
||||
|
||||
LogAreaOsmo class >> default [
|
||||
^(self new)
|
||||
enabled: true;
|
||||
minLevel: LogLevel debug;
|
||||
yourself
|
||||
]
|
||||
]
|
|
@ -23,6 +23,7 @@
|
|||
<filein>ipa/IPAMsg.st</filein>
|
||||
<filein>sccp/SCCP.st</filein>
|
||||
<filein>ua/M2UA.st</filein>
|
||||
<filein>osmo/LogAreaOsmo.st</filein>
|
||||
<filein>osmo/OsmoUDPSocket.st</filein>
|
||||
<filein>osmo/OsmoCtrlLogging.st</filein>
|
||||
<filein>osmo/OsmoCtrlGrammar.st</filein>
|
||||
|
|
Reference in New Issue