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
)
Protected Overridable Sub LogMessageToCache (
name As String,
msg As String,
errMsg As String,
stackTrace As String,
targetSite As String
)
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 |
---|
WebViewerControl control is not available for .NET Core. |
See Also