C# Class LibGit2Sharp.LogConfiguration

Logging and tracing configuration for libgit2 and LibGit2Sharp.
Show file Open project: nulltoken/libgit2sharp Class Usage Examples

Public Properties

Property Type Description
None LogConfiguration

Private Properties

Property Type Description
GitTraceHandler void
LogConfiguration System

Public Methods

Method Description
LogConfiguration ( LogLevel level, LogHandler handler ) : System

Creates a new logging configuration to call the given delegate when logging occurs at the given level.

Private Methods

Method Description
GitTraceHandler ( LogLevel level, IntPtr msg ) : void
LogConfiguration ( ) : System

Method Details

LogConfiguration() public method

Creates a new logging configuration to call the given delegate when logging occurs at the given level.
public LogConfiguration ( LogLevel level, LogHandler handler ) : System
level LogLevel Level to log at
handler LogHandler Handler to call when logging occurs
return System

Property Details

None public static property

The default logging configuration, which performs no logging at all.
public static LogConfiguration,LibGit2Sharp None
return LogConfiguration