C# Class Cube.XRM.Framework.Core.DetailedLog

Class DetailedLog.
Inheritance: IDetailedLog
Datei anzeigen Open project: bkanlica/CubeXrmFramework Class Usage Examples

Private Properties

Property Type Description
FormatValue string
LogToDiagnostic void
LogToScreen void
ShowLog void
WriteLog void

Public Methods

Method Description
CreateLog ( string _content ) : void

Creates the log.

CreateLog ( string _content, EventLogEntryType _level ) : void

Creates the log.

DetailedLog ( ILogger _logger, EnumCarrier _level, SqlConnection _connection, EnumCarrier _screen ) : System
DetailedLog ( ILogger _logger, EnumCarrier _level, string _path, EnumCarrier _screen ) : System

Initializes a new instance of the DetailedLog class.

LogEntityObjects ( System.Entity entity ) : string

Logs the entity objects.

Private Methods

Method Description
FormatValue ( object value ) : string

Formats the value.

LogToDiagnostic ( string _context ) : void

Logs to diagnostic.

LogToScreen ( string _context ) : void

Logs to screen.

ShowLog ( string _context ) : void

Shows the log.

WriteLog ( string _content, EventLogEntryType _logType ) : void

Writes the log.

Method Details

CreateLog() public method

Creates the log.
public CreateLog ( string _content ) : void
_content string The _context.
return void

CreateLog() public method

Creates the log.
public CreateLog ( string _content, EventLogEntryType _level ) : void
_content string
_level EventLogEntryType The _level.
return void

DetailedLog() public method

public DetailedLog ( ILogger _logger, EnumCarrier _level, SqlConnection _connection, EnumCarrier _screen ) : System
_logger ILogger
_level EnumCarrier
_connection System.Data.SqlClient.SqlConnection
_screen EnumCarrier
return System

DetailedLog() public method

Initializes a new instance of the DetailedLog class.
public DetailedLog ( ILogger _logger, EnumCarrier _level, string _path, EnumCarrier _screen ) : System
_logger ILogger The _logger.
_level EnumCarrier The _level.
_path string The _path.
_screen EnumCarrier The _screen.
return System

LogEntityObjects() public method

Logs the entity objects.
public LogEntityObjects ( System.Entity entity ) : string
entity System.Entity The entity.
return string