Click or drag to resize

ILoggerLogMessage Method

IT Hit User File System
Logs informational message.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.3.27213.0
Syntax
void LogMessage(
	string message,
	string sourcePath = null,
	string targetPath = null,
	IOperationContext operationContext = null,
	IFileSystemItemMetadata metadata = null,
	int callerLineNumber = 0,
	string callerMemberName = null,
	string callerFilePath = null
)

Parameters

message
Type: SystemString
Informational message to be logged.
sourcePath (Optional)
Type: SystemString
Path in user file system to the file or folder that this message is about.
targetPath (Optional)
Type: SystemString
Path to the target file or folder path in case of move of rename.
operationContext (Optional)
Type: ITHit.FileSystemIOperationContext
Provides information about the environment.
metadata (Optional)
Type: ITHit.FileSystemIFileSystemItemMetadata
File or folder metadata.
callerLineNumber (Optional)
Type: SystemInt32
callerMemberName (Optional)
Type: SystemString
callerFilePath (Optional)
Type: SystemString
See Also