C# Class GuiLabs.FileUtilities.Log

Exibir arquivo Open project: KirillOsenkov/ContentSync

Public Methods

Method Description
AddFinalReportEntry ( string title, string elapsedTime ) : void
MeasureTime ( string operationTitle ) : IDisposable
PrintFinalReport ( ) : void
Write ( string message, ConsoleColor color = ConsoleColor.Gray ) : void
WriteError ( string message ) : void
WriteLine ( string message, ConsoleColor color = ConsoleColor.Gray ) : void

Method Details

AddFinalReportEntry() public static method

public static AddFinalReportEntry ( string title, string elapsedTime ) : void
title string
elapsedTime string
return void

MeasureTime() public static method

public static MeasureTime ( string operationTitle ) : IDisposable
operationTitle string
return IDisposable

PrintFinalReport() public static method

public static PrintFinalReport ( ) : void
return void

Write() public static method

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

WriteError() public static method

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

WriteLine() public static method

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