LoggerAppender | --LoggerAppenderSocket
Located in File: Program_Root/appender/LoggerAppenderSocket.php
$Revision: 1.6 $Marco Vassura| Class Variable Summary |
$hostname
on how to define an hostname see http://php.net/fsockopen Default Value:
|
$port
Default Value:
|
$sp
Default Value:
|
$timeout
Default Value:
|
| Inherited Class Variable Summary | ||||||||||||||||||||||||||||||
Inherited From Class LoggerAppender
|
| Method Summary |
void constructor LoggerAppenderSocket ( $name )
Constructor |
boolean activateOptions ( )
create a socket connection using defined parameters |
void close ( )
|
void closeFile ( )
Closes the previously opened file. |
void doAppend ( $event )
Appends a LoggerEvent |
void getAppend ( )
Returns the value of the Append option. |
void getHostname ( )
Get the value of the BufferedIO option. |
void getPort ( )
Get the size of the IO buffer. |
void reset ( )
Close any previously opened file and call the parent's reset. |
void setAppend ( $flag )
The Append option takes a boolean value. |
void setHostname ( $hostname )
The BufferedIO option takes a boolean value. |
void setPort ( $port )
Set the size of the IO buffer. |
void setTimeout ( $timeout )
|
| Inherited Method Summary | ||||||||||||||||||||||||||||||||
Inherited From Class LoggerAppender
|
| Method Detail |
void LoggerAppenderSocket( string $name)
Constructor- string $name: appender name[ Top ]
boolean activateOptions( )
create a socket connection using defined parameters[ Top ]
void close( )
Overrides LoggerAppender::close() (Release any resources allocated.)
[ Top ]
void closeFile( )
Closes the previously opened file.[ Top ]
void doAppend( object $event)
Overrides LoggerAppender::doAppend() (Log in Appender specific way.)
Appends a LoggerEvent- object $event: the LoggerEvent to append[ Top ]
void getAppend( )
Returns the value of the Append option.[ Top ]
void getHostname( )
Get the value of the BufferedIO option.[ Top ]
void getPort( )
Get the size of the IO buffer.[ Top ]
void reset( )
Close any previously opened file and call the parent's reset.[ Top ]
void setAppend( mixed $flag)
The Append option takes a boolean value.[ Top ]
void setHostname( mixed $hostname)
The BufferedIO option takes a boolean value.[ Top ]
void setPort( mixed $port)
Set the size of the IO buffer.[ Top ]
void setTimeout( mixed $timeout)
[ Top ]
| Variable Detail |
target host[ Top ]
network port[ Top ]
socket connection resource[ Top ]
connection timeout[ Top ]