C# Class NG.AssertDebug.DebugToFile

ファイルを表示 Open project: Naphier/NGTools

Public Properties

Property Type Description
dOut List
dOutDebugAssert List

Public Methods

Method Description
CleanLine ( string line ) : string
HandleLogCallback ( string logString, string stackTrace, LogType type ) : void
WriteLineToLog ( string fileName, string line ) : void

Writes a single line to log file

WriteLineToLogAssertDebug ( string fileName, string line ) : void

Writes a single line to log file - for use only with NG.Assert and NG.Debug

WriteToLog ( ) : void

Writes to output.csv - must add strings to dOut list

WriteToLog ( string fileName ) : void

Writes all dOut strings to file

WriteToLogAssertDebug ( string fileName ) : void

For use only in NG.Assert and NG.Debug

Method Details

CleanLine() public static method

public static CleanLine ( string line ) : string
line string
return string

HandleLogCallback() public static method

public static HandleLogCallback ( string logString, string stackTrace, LogType type ) : void
logString string
stackTrace string
type LogType
return void

WriteLineToLog() public static method

Writes a single line to log file
public static WriteLineToLog ( string fileName, string line ) : void
fileName string
line string
return void

WriteLineToLogAssertDebug() public static method

Writes a single line to log file - for use only with NG.Assert and NG.Debug
public static WriteLineToLogAssertDebug ( string fileName, string line ) : void
fileName string
line string
return void

WriteToLog() public static method

Writes to output.csv - must add strings to dOut list
public static WriteToLog ( ) : void
return void

WriteToLog() public static method

Writes all dOut strings to file
public static WriteToLog ( string fileName ) : void
fileName string
return void

WriteToLogAssertDebug() public static method

For use only in NG.Assert and NG.Debug
public static WriteToLogAssertDebug ( string fileName ) : void
fileName string
return void

Property Details

dOut public_oe static_oe property

Add strings to this to dump all into a file at a later time
public static List dOut
return List

dOutDebugAssert public_oe static_oe property

Add strings to this to dump all into a file at a later time Only for use by NG.Assert and NG.Debug
public static List dOutDebugAssert
return List