SharePoint Diagnostics 1.0

Rating: No reviews yet
Downloads: 316
Released: May 1, 2007
Updated: May 18, 2007 by StefvanHooijdonk
Dev status: -not yet defined by owner-

Recommended Download

Source Code TamTam.SharePoint.Diagnostics.zip
source code, 4K, uploaded May 16, 2007 - 316 downloads

Release Notes

After reading the MSDN on Trace Logs in MOSS/WSS, I wrote my own little class to Log messages and exceptions.

The trick is, that this Logging class will log to the same folder as MOSS 2007 will log to.

You can use this this code to easily write to your own Moss Logs:

try {
// some code
int i = int.Parse("1");
TamTam.SharePoint.Diagnostics.LogMessage("MyLog","Category1","Integer i found");
}
catch(Exception exc) {
TamTam.SharePoint.Diagnostics.LogException("MyLog",exc);
}

Reviews for this release

No reviews yet for this release.