Tag: debuggen

SharePoint create a custom Logger for your application

Logging is always a subject which everybody wants but not does. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.SharePoint.Administration; namespace myCustomLogger.Logger { class myLogger : SPDiagnosticsServiceBase { public static string customDiagnosticAreaName = "I Like SharePoint"; private static myLogger _Current; public static myLogger Current { get { if (_Current == null) {…