MagicCMS Documentation

MagicLog Members

The MagicLog type exposes the following members.

Constructors


  Name Description
Public method MagicLog(Int32)
Initializes a new instance of the MagicLog class. Retrieving it from database
Public method MagicLog(SqlDataReader)
Initializes a new instance of the MagicLog class.
Public method MagicLog(String, Int32, LogAction, String, String)
Initializes a new instance of the MagicLog class.
Public method MagicLog(String, Int32, LogAction, Exception)
Initializes a new instance of the MagicLog class.
Public method MagicLog(String, Int32, LogAction, Int32, DateTime, String, String)
Initializes a new instance of the MagicLog class.
Public method MagicLog(String, Int32, LogAction, Int32, DateTime, String, String, String)

Methods


  Name Description
Public method Insert
Inserts this event log into database.

Properties


  Name Description
Public property Action
Gets or sets the type of action that was tried or copleted.
Public property ActionString
Gets the name of the action.
Public property Error
Gets or sets the error message is any.
Public property FileName
Gets or sets the name of the code file evolved in operation.
Public property MethodName
Gets or sets the name of the method evolved.
Public property Pk
Gets or sets the unique ID of record involved is any.
Public property Record
Public property RecordName
Gets or sets the name of the record evolved.
Public property Tabella
Gets or sets the name database table.
Public property Timestamp
Gets or sets the timestamp.
Public property User
Gets or sets the user logged in.
Public property Useremail
Gets or sets the user email.