* file redirection method?

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
Post Reply
User avatar
Ron Melby
Megastar
Posts: 917
Joined: 15 Nov 2016 15:40
Family Historian: V6.2

file redirection method?

Post by Ron Melby »

lets say I have several files and will output some to screen, some to different output files.

whether the program is in require or inline, and particularly where debug statements are concerned, or FH debug is on, the output either disappears into the bitbucket, is put in the wrong place or the io modules fail.

I have looked around the net, in the docs, and I have found one little snip that tells me its a problem (the whale is undoubtably one of the largest mammals alive today...hardly astounding or up to a level of informational)

is their a way to redirect this or self outputs and keep them organized within the code where they belong?

fh debug opens io to the screen on a print, and sometimes on a disk write statement. OK. fair enough, but needs work. I am distraught at the number of files I have written into with debugging statements.

my program writes to files, on disk. debug which is by necessity the first in callstack controls all overrides, redirections or whatever. I would like to localize my redirections in my program where I want them to go, and fh resume its overrides.

any information? thanks.

ps. it has happened again, do not know how I got two posts at one writing.
FH V.6.2.7 Win 10 64 bit
Post Reply