Sylloge
A C# helper library
Public Member Functions
Sylloge.Log.Exception Class Reference

Inherits Sylloge.Log.Visual.

List of all members.

Public Member Functions

 Exception ()
 The default constructor.
 Exception (string logName)
 Creates an instance and opens the log file with the specified file name.
System.Windows.Forms.DialogResult Log (string msg, System.Exception ex)
 Display a Sylloge.Forms.Exception form with a message and stack and log both to the underlying log file.
System.Windows.Forms.DialogResult Log (string msg, System.Exception ex, string caption)
 Display a Sylloge.Forms.Exception form with a message and stack and log both to the underlying log file.

Detailed Description

Definition at line 219 of file Log.cs.


Constructor & Destructor Documentation

Sylloge.Log.Exception.Exception ( )

The default constructor.

Definition at line 224 of file Log.cs.

Sylloge.Log.Exception.Exception ( string  logName)

Creates an instance and opens the log file with the specified file name.

Parameters:
logNameThe log file to use

Definition at line 230 of file Log.cs.


Member Function Documentation

System.Windows.Forms.DialogResult Sylloge.Log.Exception.Log ( string  msg,
System.Exception  ex 
)

Display a Sylloge.Forms.Exception form with a message and stack and log both to the underlying log file.

Parameters:
msgThe message to display
exThe System.Exception to display and log
Returns:
The System.Windows.Forms.DialogResult of the user result

Definition at line 238 of file Log.cs.

System.Windows.Forms.DialogResult Sylloge.Log.Exception.Log ( string  msg,
System.Exception  ex,
string  caption 
)

Display a Sylloge.Forms.Exception form with a message and stack and log both to the underlying log file.

Parameters:
msgThe message to display
exThe System.Exception to display and log
captionThe caption to display on the Sylloge.Forms.Exception form
Returns:
The System.Windows.Forms.DialogResult of the user result

Definition at line 250 of file Log.cs.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events