[DGD] Rough code.

Erwin Harte harte at xs4all.nl
Thu Dec 13 01:58:46 CET 2001


On Thu, Dec 13, 2001 at 12:46:16AM +0000, Shevek wrote:
[...]
> Basically I'm trying to add a linefeed to the end of some statements I'm 
> printing to file (Log files). This is how I'm doing it right now:
[...]
> 
> Can anyone help me out with how to do that?

I think it may be as easy as this:

    void
    my_log_function(string line)
    {
	write_file(my_log_file, line + "\n");
    }

Hope you can sleep peacefully now. :-)

Erwin.
-- 
Erwin Harte <harte at xs4all.nl>
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list