public LogCreationDatum(System.Diagnostics.SourceLevels sourceLevel, string format, System.Diagnostics.TraceListener listener, params KeyValuePair <string, Udbus.Core.Logging.Formatter.StashDelegate>[] fields) : this(sourceLevel, format, new System.Diagnostics.TraceListener[] { listener }, fields) { }
public LogCreationDatum(System.Diagnostics.SourceLevels sourceLevel, string format, IEnumerable <System.Diagnostics.TraceListener> listeners, params KeyValuePair <string, Udbus.Core.Logging.Formatter.StashDelegate>[] fields) { this.sourceLevel = sourceLevel; this.format = format; this.listeners = listeners; this.fields = fields; }
public EventTypeFilter(System.Diagnostics.SourceLevels level) { }
public TraceSource(string name, System.Diagnostics.SourceLevels defaultLevel) { }
public LogCreationDatum(System.Diagnostics.SourceLevels sourceLevel, string format, IEnumerable<System.Diagnostics.TraceListener> listeners, params KeyValuePair<string, Udbus.Core.Logging.Formatter.StashDelegate>[] fields) { this.sourceLevel = sourceLevel; this.format = format; this.listeners = listeners; this.fields = fields; }
/// <summary> /// Sets the Console message level. /// </summary> /// <param name="level">The Console message level.</param> public static void SetConsoleLevel(System.Diagnostics.SourceLevels level) { _console.Filter = new System.Diagnostics.EventTypeFilter(level); _consoleLevels = level; }
static TraceHelper() { _tracer.Listeners.Remove ("Default"); System.Diagnostics.Trace.AutoFlush = true; _console = new CleanConsole (); _console.Name = "console"; _console.TraceOutputOptions = System.Diagnostics.TraceOptions.None; _console.Filter = new System.Diagnostics.EventTypeFilter (System.Diagnostics.SourceLevels.Information); _consoleLevels = System.Diagnostics.SourceLevels.Information; _tracer.Listeners.Add (_console); }
public LogSource(string v, System.Diagnostics.SourceLevels all) { this.v = v; }