Horde3D http://www.horde3d.org/forums/ |
|
log file format http://www.horde3d.org/forums/viewtopic.php?f=2&t=646 |
Page 1 of 1 |
Author: | jimbo [ 17.02.2009, 15:30 ] |
Post subject: | log file format |
Is it possible to change the logfile format, or make it optionally a plain textfile. I'd really like to be able to 'tail -f' it. What are the benefits of using html? |
Author: | Volker [ 17.02.2009, 15:41 ] |
Post subject: | Re: log file format |
You can use whatever you want, since the log messages are already plain text. Only the Util method dumpMessages makes them HTML text. If you want to use the plain log messages, use Horde3D::getMessage |
Author: | AcidFaucet [ 17.02.2009, 17:15 ] |
Post subject: | Re: log file format |
Would probably be a lot more useful to have the log output accept an external style sheet, like "log.css" or something as opposed to defining the style in the HTML output. |
Author: | swiftcoder [ 17.02.2009, 17:56 ] |
Post subject: | Re: log file format |
jimbo wrote: Is it possible to change the logfile format, or make it optionally a plain textfile. As Volker said, you can write your own version of Horde3DUtils::dumpMessages(), to output whatever format you like.Quote: I'd really like to be able to 'tail -f' it. What are the benefits of using html? The major benefit is formatting, allowing the eye to quickly skip to relevant sections - especially in a Windows or Mac environment where the command line is a very foreign idea, and thus tail and friends are rarely used.
|
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |