help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Code update and class variables


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] Code update and class variables
Date: Tue, 07 Sep 2010 09:45:00 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2 Thunderbird/3.1.1

On 09/06/2010 07:09 PM, Paolo Bonzini wrote:

> 
> Do you have a pointer to the API you're taking inspiration from?


Header File:

http://git.osmocom.org/gitweb?p=libosmocore.git;a=blob;f=include/osmocore/logging.h;h=7f33155a8330d5bc59d0262140ed3e8fea34050a;hb=HEAD

Implementation:
http://git.osmocom.org/gitweb?p=libosmocore.git;a=blob;f=src/logging.c;h=5be4e58ed485837dca221a6f0f3f48387e7620ca;hb=HEAD

Config/Setup:
http://openbsc.osmocom.org/trac/browser/openbsc/src/bsc_hack.c#L223

(create a target to log to stderr, initialize the area used by the app,
 allow everything to pass the filter)

Filter/Context setup:
http://openbsc.osmocom.org/trac/browser/openbsc/src/abis_rsl.c#L125


The framework is working good in OpenBSC. With the different targets we can
enable to log to our telnet interface (VTY from quagga), but only log messages
related to a specific subscriber (e.g. doing call testing and only want to see
my own messages).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]