C# Class NUnitGoCore.Utils.Log

显示文件 Open project: elv1s42/NUnitGo

Public Methods

Method Description
Exception ( Exception exception, string exceptionMessage = "" ) : void
Exception ( Exception exception, string path, string exceptionMessage ) : void
Warning ( string warningMessage ) : void
Write ( string msg ) : void

Private Methods

Method Description
WriteToFile ( string msg, string fileName ) : void
WriteToFile ( string msg, string fileName, string filePath ) : void

Method Details

Exception() public static method

public static Exception ( Exception exception, string exceptionMessage = "" ) : void
exception System.Exception
exceptionMessage string
return void

Exception() public static method

public static Exception ( Exception exception, string path, string exceptionMessage ) : void
exception System.Exception
path string
exceptionMessage string
return void

Warning() public static method

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

Write() public static method

public static Write ( string msg ) : void
msg string
return void