C# Class Server.Infrastructure.Log

A generic logging class that allows printing to the console
ファイルを表示 Open project: GrindFest/GrindFest

Public Properties

Property Type Description
Level LogLevel

Public Methods

Method Description
Debug ( string message ) : void
Error ( string message, Exception exception ) : void
Info ( string message ) : void
Warn ( string message ) : void

Private Methods

Method Description
LogAction ( LogLevel level, string message ) : void

Method Details

Debug() public static method

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

Error() public static method

public static Error ( string message, Exception exception ) : void
message string
exception System.Exception
return void

Info() public static method

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

Warn() public static method

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

Property Details

Level public_oe static_oe property

public static LogLevel Level
return LogLevel