C# Class Microsoft.SourceBrowser.Common.Log

Datei anzeigen Open project: KirillOsenkov/SourceBrowser

Public Methods

Method Description
Exception ( Exception e, string message, bool isSevere = true ) : void
Exception ( string message, bool isSevere = true ) : void
Message ( string message ) : void
Write ( string message, ConsoleColor color = ConsoleColor.Gray ) : void

Private Methods

Method Description
WriteToFile ( string message, string filePath ) : void

Method Details

Exception() public static method

public static Exception ( Exception e, string message, bool isSevere = true ) : void
e System.Exception
message string
isSevere bool
return void

Exception() public static method

public static Exception ( string message, bool isSevere = true ) : void
message string
isSevere bool
return void

Message() public static method

public static Message ( string message ) : void
message string
return void

Write() public static method

public static Write ( string message, ConsoleColor color = ConsoleColor.Gray ) : void
message string
color ConsoleColor
return void