C# Class Source.Common.Log

Mostrar archivo Open project: mrange/T4Include

Public Methods

Method Description
Error ( string format ) : void
Exception ( string format ) : void
HighLight ( string format ) : void
Info ( string format ) : void
LogMessage ( Level level, string format ) : void
Success ( string format ) : void
Warning ( string format ) : void

Private Methods

Method Description
GetLevelColor ( Level level ) : ConsoleColor
GetLevelMessage ( Level level ) : string
GetMessage ( string format, object args ) : string
Partial_ExceptionOnLog ( Level level, string format, object args, Exception exc ) : void
Partial_LogLevel ( Level level ) : void
Partial_LogMessage ( Level level, string message ) : void

Method Details

Error() public static method

public static Error ( string format ) : void
format string
return void

Exception() public static method

public static Exception ( string format ) : void
format string
return void

HighLight() public static method

public static HighLight ( string format ) : void
format string
return void

Info() public static method

public static Info ( string format ) : void
format string
return void

LogMessage() public static method

public static LogMessage ( Level level, string format ) : void
level Level
format string
return void

Success() public static method

public static Success ( string format ) : void
format string
return void

Warning() public static method

public static Warning ( string format ) : void
format string
return void