[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/log4php.debug/layouts/ -> LoggerLayoutHtml.php (summary)

log4php is a PHP port of the log4j java logging package. <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> <p>Design, strategies and part of the methods documentation are developed by log4j team (Ceki G�lc� as log4j project founder and {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).</p>

File Size: 256 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LoggerLayoutHtml:: (10 methods):
  LoggerLayoutHtml()
  setLocationInfo()
  getLocationInfo()
  setTitle()
  getTitle()
  getContentType()
  activateOptions()
  format()
  getHeader()
  getFooter()


Class: LoggerLayoutHtml  - X-Ref

This layout outputs events in a HTML table.

Parameters are: {@link $title}, {@link $locationInfo}.

LoggerLayoutHtml()   X-Ref
Constructor


setLocationInfo($flag)   X-Ref
The <b>LocationInfo</b> option takes a boolean value. By
default, it is set to false which means there will be no location
information output by this layout. If the the option is set to
true, then the file name and line number of the statement
at the origin of the log statement will be output.

<p>If you are embedding this layout within a {@link LoggerAppenderMail}
or a {@link LoggerAppenderMailEvent} then make sure to set the
<b>LocationInfo</b> option of that appender as well.

getLocationInfo()   X-Ref
Returns the current value of the <b>LocationInfo</b> option.


setTitle($title)   X-Ref
The <b>Title</b> option takes a String value. This option sets the
document title of the generated HTML document.
Defaults to 'Log4php Log Messages'.


getTitle()   X-Ref

return: string Returns the current value of the <b>Title</b> option.

getContentType()   X-Ref

return: string Returns the content type output by this layout, i.e "text/html".

activateOptions()   X-Ref
No options to activate.


format($event)   X-Ref

param: LoggerLoggingEvent $event
return: string

getHeader()   X-Ref

return: string Returns appropriate HTML headers.

getFooter()   X-Ref

return: string Returns the appropriate HTML footers.



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1