Click or drag to resize

ILoggerLogError Method

IT Hit User File System
Logs error.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.0.26019.0-Beta+92e3f56e17dbfd6ebbef85925c0684282db3d967
Syntax
void LogError(
	string message,
	string sourcePath = null,
	string targetPath = null,
	Exception ex = null,
	IOperationContext operationContext = null,
	int callerLineNumber = 0,
	string callerMemberName = null,
	string callerFilePath = null
)

Parameters

message
Type: SystemString
Error description.
sourcePath (Optional)
Type: SystemString
Path in user file system to the file or folder that caused the error.
targetPath (Optional)
Type: SystemString
Path to the target file or folder path in case of move of rename.
ex (Optional)
Type: SystemException
Exception.
operationContext (Optional)
Type: ITHit.FileSystemIOperationContext
Provides information about the environment.
callerLineNumber (Optional)
Type: SystemInt32
callerMemberName (Optional)
Type: SystemString
callerFilePath (Optional)
Type: SystemString
See Also