Hi Alan,

On Fri, 2013-06-14 at 15:34 +0000, Alan Miller wrote:
> In page{1,2,...}.ecpp where do I need to call log_define() and
> log_init().
> Obviously, when different pages are requested I don't want to truncate
> or reinitiate the file every time.

just call log_info("message"), there is no need to init the log as
tntnet does that for you. When ecpp files get translated to cpp,
log_define will be added, run "ecppc page1.ecpp" and look into the
generated page1.cpp.



Regards,
Julian


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to