Click or drag to resize

WebViewerControlLogMessageToCache Method

Write a diagnostic log message into a .txt file

Namespace:  Atalasoft.Imaging.WebControls
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
protected virtual void LogMessageToCache(
	string name,
	string msg,
	string errMsg,
	string stackTrace,
	string targetSite
)

Parameters

name
Type: SystemString
full path to log file. If null, uses cache\sessionid_ErrorLog.txt
msg
Type: SystemString
message
errMsg
Type: SystemString
detailed error message
stackTrace
Type: SystemString
stack trace (e.g. Exception.StackTrace)
targetSite
Type: SystemString
e.g. Exception.TargetSite, the method that threw the exception
Remarks
Caution note Caution
WebViewerControl control is not available for .NET Core.
See Also