🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi
Article #334641

Re: Debug & Logging system (CodeSite, SmartInspect)...

#334641
From: R.e.m.e.K
Date: Tue, 10 Jan 2012 08:24
41 lines
2462 bytes
Dnia Tue, 10 Jan 2012 07:31:53 +0100, wloochacz napisał(a):

>>> Można określić kategorię (grupę), kolor i kolor czcionki.
>>> To i tak niewiele, ale ciut więcej niż w SI - chyba...
>>
>> procedure LogColored(const ALevel: TSiLevel; const AColor: TColor; const
>> ATitleFmt: UnicodeString; const AArgs: array of const); overload;
> Wiem o tym i pisałem o tym, ale nie o to mi chodziło...

Moze o to:

    Another improvement in SmartInspect 3.0 is the new ability to configure
sessions via SmartInspect configuration files. This allows you to enable,
disable or configure specific sessions without recompiling your application.
This can come in very handy if you have to dynamically enable or disable
logging for certain application modules on production systems or at customer
sites.

; General logging options
connections = file(filename="c:\log.sil")
enabled = true

; Set the defaults for new sessions
sessiondefaults.active = false
sessiondefaults.level = message
sessiondefaults.color = 0xffff7f

; And configure individual sessions
session.database.active = true
session.database.level = verbose

    Also a new session enhancement in SmartInspect 3.0 is the support for
so-called session defaults. Session defaults let you specify default values
for session attributes like the Active status or the background color of log
entries in the Console. This is very useful in situations where you are
working with many sessions and need a way to change the base settings of all
instances.

-- 
pozdro
R.e.m.e.K
Technical Details
Message-ID: <1w1ty1s05vpt2$.dlg@hell.heaven>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail
References: <jeetcf$s57$1@inews.gazeta.pl> <115dc4jpp76fc$.dlg@hell.heaven> <jefdtk$jqu$1@inews.gazeta.pl> <jefikc$6tg$1@inews.gazeta.pl> <jegm0s$is3$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail
From: "R.e.m.e.K" <go@dev.null>
Newsgroups: pl.comp.lang.delphi
Subject: Re: Debug &  Logging system (CodeSite, SmartInspect)...
Date: Tue, 10 Jan 2012 09:24:28 +0100
Organization: ICM, Uniwersytet Warszawski
Lines: 41
Sender: hell@heaven
Message-ID: <1w1ty1s05vpt2$.dlg@hell.heaven>
References: <jeetcf$s57$1@inews.gazeta.pl> <115dc4jpp76fc$.dlg@hell.heaven> <jefdtk$jqu$1@inews.gazeta.pl> <jefikc$6tg$1@inews.gazeta.pl> <jegm0s$is3$1@inews.gazeta.pl>
NNTP-Posting-Host: 89-75-115-216.dynamic.chello.pl
Mime-Version: 1.0
X-Trace: news.icm.edu.pl 1326183866 27288 89.75.115.216 (10 Jan 2012 08:24:26 GMT)
X-Complaints-To: usenet@news.icm.edu.pl
NNTP-Posting-Date: Tue, 10 Jan 2012 08:24:26 +0000 (UTC)
User-Agent: 40tude_Dialog/2.0.15.1pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit