The class EnterpriseDT.Util.Debug.Logger may be used to write messages to the CompleteFTP log. This can be very useful when debugging your .Net extension. To use this class, create a static instance of it in your extension class and call its Error, Info, Warn or Debug method to write something to CompleteFTP's log file. For example:
using EnterpriseDT.Util.Debug;
public class UpperCaseFileNameAdapter : FolderAdapter
{
private static Logger log = Logger.GetLogger("UpperCaseFileNameAdapter");
public override VirtualFileInfo[] GetFileInfos(ISession session, IFileSystemNode node, string path, string pattern)
{
log.Debug("Listing requested");
...
}
}