aboutsummaryrefslogtreecommitdiffstats
path: root/osmo
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-03-27 11:10:23 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-03-27 16:23:05 +0100
commit75587966d351d5f305498c75cff2588f1e32354f (patch)
tree4ecddb83ab9eea9009e7c43d13fdf7a44b675327 /osmo
parentdd54429310a6041c3a8f9ca20f04b1d1ded79ae6 (diff)
osmo: Create a new LogArea for the osmo area.
Diffstat (limited to 'osmo')
-rw-r--r--osmo/LogAreaOsmo.st38
1 files changed, 38 insertions, 0 deletions
diff --git a/osmo/LogAreaOsmo.st b/osmo/LogAreaOsmo.st
new file mode 100644
index 0000000..cf76b1d
--- /dev/null
+++ b/osmo/LogAreaOsmo.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
+ ]
+]