Optimized solution for viewing in browser the log files.
By default, without file parameter, logfile will be created in root of website with the name log-11-17.html, with current month-date( log-{m}-{d}.html ).
Using with both options( with file parameter or without ):
- Code: Select all
'file'=>'log-'.date( "n-j" ).'.html'
By default, without file parameter, logfile will be created in root of website with the name log-11-17.html, with current month-date( log-{m}-{d}.html ).
Using with both options( with file parameter or without ):
- Code: Select all
<cms:log variable />
<cms:log "<cms:dump_all />" />
<cms:log variable file='some-better-name.log' />