public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@redhat.com>
To: frysk <frysk@sourceware.org>
Subject: Re: a simpler logger [?]
Date: Mon, 17 Dec 2007 20:05:00 -0000	[thread overview]
Message-ID: <4766D650.6080102@redhat.com> (raw)
In-Reply-To: <475976DF.6070302@redhat.com>

FYI,

I've marked up frysk.expunit to use this logger (so people can see it 
working).  Enable it with something like:
   ./TestRunner -trace FINE frysk.hpd.TestLoadCommand
or:
  ./TtestRunner -trace frysk.expunit=FINEST  frysk.hpd.TestLoadCommand

Andrew

Andrew Cagney wrote:
> Hi,
>
> I've just added a frysk.rsl (really simple logger?) package as a 
> possible alternative to the java logging framework we're currently 
> using.  The "advantages" as I'll spin them are:
>
> -> the logging call is unlocked (at least in the logger level)
> so the ongoing saga of older log implementations deadlocking is avoided
>
> -> nested logging works
>
> -> it supports a completer interface
> so that << (fhpd) frysk log frysk.proc.<TAB> >> can give a known list 
> of loggers
>
> -> [I think] the call interface is simpler and lighter
> for instance << log.fine(this, "adding foo") >> or << log.fine(this, 
> "adding foo=", foo); >> (we can add more methods as we need them :-)
>
> thoughts?
>
> Andrew
>

  reply	other threads:[~2007-12-17 20:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-07 16:37 Andrew Cagney
2007-12-17 20:05 ` Andrew Cagney [this message]
2008-02-11 18:52   ` Andrew Cagney
2008-02-12 12:15     ` Mark Wielaard
2008-02-12 12:23       ` Phil Muldoon
2008-02-12 13:29         ` Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4766D650.6080102@redhat.com \
    --to=cagney@redhat.com \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).