comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Log system ??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Log system ?? [message #86729 is a reply to message #86676] Fri, 29 November 2013 11:03 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 11/27/13, 12:44 pm, David Fanning wrote:
> Sebastian Luque writes:
>
>> I found this old post while searching for a way to log error messages.
>>
>> I use the MESSAGE procedure quite a lot. In some long procedures, I often use it as:
>>
>> message, 'Txt', /continue
>>
>> when I want to report an error of some kind but continue with other operations. I'd like to be able to log these messages to a file, as they are printed in the terminal when they are encountered. It would be nice to have something like a /FILE keyword to MESSAGE, but I suspect there's a reason for its inexistence. Any tips?
>
> http://www.idlcoyote.com/programs/errorlogger__define.pro
>
> There are others. Mike Galloy has one, too.
>
> Cheers,
>
> David

Here is an article about using my logging system:

http://michaelgalloy.com/2011/11/17/logging.html

Yes, MG_LOG is here:

https://github.com/mgalloy/mglib/blob/master/src/dist_tools/ mg_log.pro

But you need multiple other routines/classes from my library, so I would
just grab the whole thing.

Mike

--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Variable Pixel Spacing for Images in IDL
Next Topic: Updated Coyote Mapping Routines

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:58:35 PDT 2025

Total time taken to generate the page: 0.00390 seconds