This project is read-only.

public static void Bind<T>() where T : ICatchAction, new()
Link a ICatchAction like LogFile who write in a file, but you can make your own.

public static void Bind(UnhandledCatchMeEventHandler evt)

public static void CatchUnhandled()
Active Unhandle exception

public static CatchMe WriteException(Exception ex)
public static CatchMe WriteException(string message)
public static CatchMe WriteMessage(string message)
public static CatchMe WriteMessage(Exception ex)

Option function to gather information

public CatchMe Where([CallerMemberName] string Method = "",
[CallerFilePath] string sourceFilePath = "",
[CallerLineNumber] int sourceLineNumber = 0)

public CatchMe Level(ushort level)
Allow to have 

public CatchMe Variable<U>(string nom, U instance)
Dump Variable

Call the Write methode of the ICatchAction

public void Write()    
/* call all ICatchAction who are link */
public void Write<T>() where T : ICatchAction, new()  
/* call the specific ICathAction and all ICatchAction who are link */
public void WriteOnly<T>() where T : ICatchAction, new()
/* call only specific ICathAction */


public CatchMe To<T>() where T : ICatchAction, new()
Write<LogFile>();  equal   To<LogFile>().Write();

public CatchMe To(CatchAction act ) 

public CatchMe Screen()
Make a screenshot

Call methode for TraceFile


/* Add new line with or without the datetime */
public static void Start(string s, int tab = 0, bool horodate = true)
/* Add test to the line */
public static void Middle(string s, int tab = 0, bool Close = false)

/* return to the line */
public static void Close(string s, int tab = 0)
public static void Close()

/* Add new line */
public static void StartClose(string s, int tab = 0, bool horodate = true)
public static void StartClose(UInt16 level, string s, int tab = 0, bool horodate = true)

/* Delete the tracefile */
public static void DeleteFile()
/* Stop and close the tracefile */
public static void Stop()

Last edited Jul 28, 2014 at 10:48 PM by ColinArnaud, version 2