|
LoggerPrint Method
|
Prints a message to the log file.
Namespace:
CADSharpTools.Diagnostics
Assembly:
CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntaxpublic string Print(
string message,
LoggerMessageType type = LoggerMessageType.Information,
Exception ex = null,
int tabCount = 0
)
Public Function Print (
message As String,
Optional type As LoggerMessageType = LoggerMessageType.Information,
Optional ex As Exception = Nothing,
Optional tabCount As Integer = 0
) As String
Parameters
- message
- Type: SystemString
- type (Optional)
- Type: CADSharpTools.DiagnosticsLoggerMessageType
Dictates what prefix is used with the message. - ex (Optional)
- Type: SystemException
Exception to log. - tabCount (Optional)
- Type: SystemInt32
Tab count.
Return Value
Type:
StringMessage print to the log file.
See Also