guile-user
[Top][All Lists]
Advanced

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

Re: Logging in Guile


From: Zelphir Kaltstahl
Subject: Re: Logging in Guile
Date: Wed, 15 Jan 2020 00:51:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

Thanks, I will also take a look at that!

On 1/13/20 7:47 PM, John Cowan wrote:
> I have a rough proposal now at
> <https://bitbucket.org/cowan/r7rs-wg1-infra/src/default/SyslogCowan.md>. 
> It depends on either being able to send TCP or UDP packets or
> preferably to call the Posix API through the FFI.  It is very basic
> and leaves log rotation etc. to the syslog infrastructure.
>
> On Mon, Jan 13, 2020 at 1:10 PM Zelphir Kaltstahl
> <address@hidden <mailto:address@hidden>> wrote:
>
>     Hi Guile Users!
>
>     Is there any library for logging in Guile?
>
>     What I imagine is something, where I can log messages of various
>     levels,
>     like debug, info, error and such. Currently I am using display and
>     simple-format for all the things, but it would be nice to be able
>     to run
>     a program and give it some log level, so that only the log messages of
>     that level or above in importance are shown. Then I could leave all my
>     logging in my code and set it to debug level or, if intended to be
>     seen
>     for the user, set it to info level, or if there really is an error, I
>     could set it to error level.
>
>     On a quick search I could not find anything.
>
>     Regards,
>     Zelphir
>
>


reply via email to

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