Click or drag to resize

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)
Syntax
public string Print(
	string message,
	LoggerMessageType type = LoggerMessageType.Information,
	Exception ex = null,
	int tabCount = 0
)

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: String
Message print to the log file.
See Also