Ejemplo n.º 1
0
 public SPDiagnosticsCategory this[LogCategoryId categoryId]
 {
     get
     {
         return(Areas[DiagnosticAreaName].Categories[_categoryDisplayNames[(int)categoryId]]);
     }
 }
 public SPDiagnosticsCategory this[LogCategoryId categoryId]
 {
    get
    {
       return Areas[DiagnosticAreaName].Categories[_categoryDisplayNames[(int)categoryId]];
    }
 }
Ejemplo n.º 3
0
        public static void WriteTrace(LogCategoryId messageCategoryId, TraceSeverity messageSeverity, string message)
        {
            SPDiagnosticsCategory category = _loggingService[messageCategoryId];

            _loggingService.WriteTrace(1, category, messageSeverity, message);
        }
Ejemplo n.º 4
0
 public static void WriteTrace(LogCategoryId messageCategoryId, TraceSeverity messageSeverity, string message)
 {
    SPDiagnosticsCategory category = _loggingService[messageCategoryId];
    _loggingService.WriteTrace(1, category, messageSeverity, message);
 }