C# Class NG.AssertDebug.DebugToFile

Afficher le fichier Open project: Naphier/NGTools

Méthodes publiques

Свойство Type Description
dOut List
dOutDebugAssert List

Méthodes publiques

Méthode 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 méthode

public static CleanLine ( string line ) : string
line string
Résultat string

HandleLogCallback() public static méthode

public static HandleLogCallback ( string logString, string stackTrace, LogType type ) : void
logString string
stackTrace string
type LogType
Résultat void

WriteLineToLog() public static méthode

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

WriteLineToLogAssertDebug() public static méthode

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
Résultat void

WriteToLog() public static méthode

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

WriteToLog() public static méthode

Writes all dOut strings to file
public static WriteToLog ( string fileName ) : void
fileName string
Résultat void

WriteToLogAssertDebug() public static méthode

For use only in NG.Assert and NG.Debug
public static WriteToLogAssertDebug ( string fileName ) : void
fileName string
Résultat 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
Résultat 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
Résultat List