Re: Simple Euphoria Suggestion

new topic     » goto parent     » topic index » view thread      » older message » newer message

In short, elog.e already exists.  I created it a long time ago. I don't
think
it ever made it to the archives. But, I'm not the first or last to create
such
a system.

PROBLEMS:
1. Logging everything to file will make a large file or you can limit it to
    the last 1000 lines or something.
2. Logging everything will dramatically slow down the program with
    lots of disk activity.

Have you  looked elog.e   When running and tracking every move.
There is way too much disk activity. But if you limit the places you use the
logging. The activity drops dramatically.  You limit the logging to the
areas
of suspected problem. You can switch it in and out of logging mode.
That means you could provide a debug switch for when you want to log
what is going on.  The log won't tell you want happened. But it can tell
you where it happened.  Exactly where.  You can tell how deep you are
into the routine.

        Lucius L. Hilley III

----- Original Message ----- 
From: "Bernie Ryan" <xotron at bluefrognet.net>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, September 24, 2003 11:19 AM
Subject: Simple Euphoria Suggestion


>
>
> I am reposting this because of the topica posting being messed up
> a couple of days ago, I thought I would see some reply or disscusion.
>
> Why could'nt Euphoria have a magic builtin function that
> would take a parameter which would be the name of a file.
>
> Then the user could create or open a file and use it for
> cleanup, error dumps, crash information, etc... Whatever
> the user wants to use it for.
>
> Then when a user writes a program, the user at the beginning
> of his program calls the magic built-in function to tell Euphoria
> the name of his file or its file number.
>
> All the Euphoria code has to do is save the name of the
> file and when Euphoria shuts down or terminates,
> it simply closes this file.
>
> This would be very easy to implement.
> It could be used even when program don't crash.
> It would have more uses than a crash message.
>
> Bernie
>
>
> --^----------------------------------------------------------------
> This email was sent to: l3euphoria at bellsouth.net
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu