Class LogentryUtil
public static
|
#
saveToFile( string $filename,
Saves a Logentry object to an XML file |
public static
string
|
#
saveToQueue(
Saves a Logentry's XML output to a file in the elog queue directory Returns the name of the file that was saved |
public static
|
|
public static
string
|
#
queueFileName( )
Returns a file name in the recommended format: YYYYMMDD_HHMMSS_PID_HOSTNAME_RND.xml |
public static
string
|
|
protected static
|
|
protected static
|
|
public static
|
|
public static
boolean
|
#
isSimpleFilename( string $filename )
Determines if the file name is simple (with no path component) or not. |
public static
mixed
|
|
public static
integer
|
#
extractLognumber( string $text )
Extracts and returns the log number out of an XML-formatted server response. |
public static
boolean
|
#
isValidEntry(
Determines whether a Logentry object validates against the XML schema. |
public static
boolean
|
#
isValidXMLFile( string $filename, string $schema = null )
Determines whether a Logentry XML file validates against the XML schema. |
public static
string;
|
#
validationErrors( )
Returns the buffered error messages from the last XML validation attempt and clears the buffer. |
public static
|
|
protected
|
public static
string
|
$lastServerMsg
Stores the most recently returned message from saveToServer. |