Data Management Object Model Reference

Logging Members

Logging overview

Public Instance Constructors

Logging Constructor Stnadard constructor. Constructs the logging component and initializes member variables

Public Instance Properties

Alias The Alias to use for logging.
Description Gets or sets the description of the JobGroup
Filter The filter to use for logging.
Group The Group to use for logging. First 3 characters of groupname is used as prefix for logfiles.
IsCreated Returns true if the Logging component was created. If no logging parameters are specified in the script then the logging component will not be created.
LogFileSize Sets/Gets the size in KB of each log file.
Name Gets or sets the name of the JobGroup
Path The physical network path or URL to store the logfiles
PublishLogs Set to true if you wish private logs exposed on the public agent interface. This enables private logs to be visible to f.ex browsers or other tools accessing the logging backends components

Public Instance Methods

CreateGroupLog Creates a public/group log file at the location designated by m_Path For full explanation of the parameters and their effect on logging please see the logging component documentation.
CreatePrivateLog Creates a private log file at the location designated by m_Path For full explanation of the parameters and their effect on logging please see the logging component documentation.
Equals (inherited from Object) 
Flush Flushes the file cache.
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
InitializeMembers Ensure that all member string have a valid content, are not null.
LogErrorOverloaded. Writes a Fatal level error message, using the default fatal logging id (or the default "All" id if undefined), to the log file. Calling this method from COM, the method is seen as LogError_2( string LogEntry)
LogFatalOverloaded. Writes a Fatal level error message, using the default fatal logging id (or the default "All" id if undefined), to the log file. Calling this method from COM, the method is seen as LogFatal_2( string LogEntry)
LogInfoOverloaded. Writes a Info level error message, using the default fatal logging id (or the default "All" id if undefined), to the log file. Calling this method from COM, the method is seen as LogInfo_2(string LogEntry)
LogMetricOverloaded. Writes a Info level error message, using the default fatal logging id (or the default "All" id if undefined), to the log file. Calling this method from COM, the method is seen as LogMetric_2(string LogEntry)
LogScriptOverloaded. Writes a Script level error message, using the default fatal logging id (or the default "All" id if undefined), to the log file. Calling this method from COM, the method is seen as LogScript_2(string LogEntry)
LogTraceOverloaded. Writes a Script level error message, using the default fatal logging id (or the default "All" id if undefined), to the log file. Calling this method from COM, the method is seen as LogTrace_2(string LogEntry)
ToString (inherited from Object) 

See Also

Logging Class | SPSSMR.Data.Transformations Namespace