Login   Register  
PHP Classes
elePHPant
Icontem

File: config.xml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Claudius Tiberiu Iacob  >  Logger_ciacob  >  config.xml  >  Download  
File: config.xml
Role: Auxiliary data
Content type: text/plain
Description: See "HowToInstall.txt" for info
Class: Logger_ciacob
Log variable values to files
Author: By
Last change:
Date: 4 years ago
Size: 1,158 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="utf-8"?>
<!-- Configuration file for class Logger -->
<config for="Logger">
	<param>
		<name>maxFileSize</name>
		<type>number</type>
		<value>250</value>
	</param>
	
	<param>
		<name>operatingMode</name>
		<type>string</type>
		<value>trim</value>
	</param>
	
	<param>
		<name>wrapLimit</name>
		<type>number</type>
		<value>120</value>
	</param>
	
	<param>
		<name>bannerTemplate</name>
		<type>string</type>
		<value>
<![CDATA[
FILE:        %FILE PATH% 
SIZE:        %FILE SIZE% bytes
DESCRIPTION: Log file for the %RELATED CONTEXT NAME%
STATUS:      %FILE STATUS% as of %LAST MODIFIED DATE%
-----------------------------------------------------------------------------------------------------------------------
]]>
		</value>
	</param>
	
	<param>
		<name>entryTemplate</name>
		<type>string</type>
		<value>
<![CDATA[
[%CALLING CLASS NAME% @ %Y%/%M%/%D%-%H%:%MIN%:%S%]
%CONTENT%
]]>
		</value>
	</param>
	
	<!-- Context definitions start here -->
	<param>
		<name>LoggerDemo</name>
		<type>array</type>
		<value>
			<item>LoggerDemo</item>
		</value>
	</param>
</config>