C# Class Utilities.Logging

Mostra file Open project: cmdrmcdonald/EliteDangerousDataProvider

Public Properties

Property Type Description
LogFile string

Public Methods

Method Description
Debug ( string data, [ memberName = "", [ filePath = "" ) : void
Error ( Exception ex, [ memberName = "", [ filePath = "" ) : void
Error ( string message, Exception ex, [ memberName = "", [ filePath = "" ) : void
Error ( string message, string data = null, [ memberName = "", [ filePath = "" ) : void
Info ( string data, [ memberName = "", [ filePath = "" ) : void
Report ( string message, string data = "{}", [ memberName = "", [ filePath = "" ) : void
Warn ( string data, [ memberName = "", [ filePath = "" ) : void

Private Methods

Method Description
log ( string path, string method, string level, string data ) : void

Method Details

Debug() public static method

public static Debug ( string data, [ memberName = "", [ filePath = "" ) : void
data string
memberName [
filePath [
return void

Error() public static method

public static Error ( Exception ex, [ memberName = "", [ filePath = "" ) : void
ex System.Exception
memberName [
filePath [
return void

Error() public static method

public static Error ( string message, Exception ex, [ memberName = "", [ filePath = "" ) : void
message string
ex System.Exception
memberName [
filePath [
return void

Error() public static method

public static Error ( string message, string data = null, [ memberName = "", [ filePath = "" ) : void
message string
data string
memberName [
filePath [
return void

Info() public static method

public static Info ( string data, [ memberName = "", [ filePath = "" ) : void
data string
memberName [
filePath [
return void

Report() public static method

public static Report ( string message, string data = "{}", [ memberName = "", [ filePath = "" ) : void
message string
data string
memberName [
filePath [
return void

Warn() public static method

public static Warn ( string data, [ memberName = "", [ filePath = "" ) : void
data string
memberName [
filePath [
return void

Property Details

LogFile public_oe static_oe property

public static string LogFile
return string