/// <summary> /// A helper to get an instance of the PSTraceSource class. /// </summary> /// <param name="name"> /// The name of the category that this class /// will control the tracing for. /// </param> /// <param name="description"> /// The description to describe what the category /// is used for. /// </param> /// <returns> /// An instance of the PSTraceSource class which is initialized /// to trace for the specified category. If multiple callers ask for the same category, /// the same PSTraceSource will be returned. /// </returns> internal static PSTraceSource GetTracer( string name, string description) { return(PSTraceSource.GetTracer(name, description, true)); }
internal static PSTraceSource GetTracer(string name, string description) => PSTraceSource.GetTracer(name, description, true);