[Lazarus] Cloning standard output to text file

Reimar Grabowski reimgrab at web.de
Fri May 4 18:46:43 CEST 2018


On Fri, 4 May 2018 13:34:54 +0200
"Carlos E. R. via Lazarus" <lazarus at lists.lazarus-ide.org> wrote:

> Yes, of course, that's what I'm doing now, but I wanted to do it
> internally, control the file name, perhaps rotate it, etc :-)
Perhaps you should use a logger.
There are surely some FPC ones out there that can do all this for you.
A fast google search brings up http://wiki.freepascal.org/Log4Delphi which is based on Log4J (which does all that).

hih
R.


More information about the Lazarus mailing list