Holds attributes to be applied to the log file when a message is written. These attributes can be current values such as process information, or customer reference or product id etc.
Items can be added as either keys or key => value pairs. A handful of constants are pre-defined for use within the Scorpio framework. Adding additional values here is discouraged as they will be overwritten with any updates.
$oSource = systemLogSource::getInstance('Controller', 'View'); $oSource->setSource('Template','file.tpl');
Returns a new instance of the systemLogSource
public static getInstance($inSource, [$inSourceFlags = null])
Returns a single instance of systemLogSource
public getSourceString([$inLogLevel = null])
Returns source as a string, if $inLogLevel is set, prepends log level as a string
public getSource([$inSource = null])
Return source or entire array of sources
public setSource($inSource, [$inValue = null])
Set the log source
Removes the item from the source index
Returns the number of items attached to the source