ICON Software Solutions
Overloaded. Icon.Audit.Log method.

Namespace:  Icon
Assembly:  Icon (in Icon.dll) Version: 2010.3.0.0 (2010.3.0.0)

Syntax

C#
public static void Log(
	string cUser,
	string cLine
)
Visual Basic (Declaration)
Public Shared Sub Log ( _
	cUser As String, _
	cLine As String _
)
Visual C++
public:
static void Log(
	String^ cUser, 
	String^ cLine
)
J#
public static void Log(
	String cUser,
	String cLine
)

Parameters

cUser
Type: System..::.String
The description of the log item, usually the user name, or any valid string.
cLine
Type: System..::.String
The text of the log.

Remarks

Use this routine to write to the default log file in the application log folder.

Examples

[Visual Basic] The following is a code example showing writing to the log.
Icon.Audit.Log("Error", ex.ToString)

See Also