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

Class DetailedLog.
Inheritance: IDetailedLog
Afficher le fichier Open project: bkanlica/CubeXrmFramework Class Usage Examples

Private Properties

Свойство Type Description
FormatValue string
LogToDiagnostic void
LogToScreen void
ShowLog void
WriteLog void

Méthodes publiques

Méthode 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

Méthode 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 méthode

Creates the log.
public CreateLog ( string _content ) : void
_content string The _context.
Résultat void

CreateLog() public méthode

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

DetailedLog() public méthode

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

DetailedLog() public méthode

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.
Résultat System

LogEntityObjects() public méthode

Logs the entity objects.
public LogEntityObjects ( System.Entity entity ) : string
entity System.Entity The entity.
Résultat string