未验证 提交 fbccdb22 编写于 作者: A Andrii Kurdiumov 提交者: GitHub

Remove sorcery for getting consistent names in the traces (#6656)

That helps for trimming
上级 ae9becb5
......@@ -15,7 +15,8 @@ namespace MS.Internal
internal class MediaTrace : IDisposable
{
public static MediaTrace NodeFlag = new MediaTrace("Node Flags"); public static MediaTrace NodeOp = new MediaTrace("Node Operations");
public static MediaTrace NodeFlag = new MediaTrace("Node Flags");
public static MediaTrace NodeOp = new MediaTrace("Node Operations");
public static MediaTrace NodeCreation = new MediaTrace("Node creation");
public static MediaTrace DrawingContextOp = new MediaTrace("Drawing Context Op");
public static MediaTrace ContainerOp = new MediaTrace("Drawing Visual Operations Operations");
......@@ -72,7 +73,7 @@ static MediaTrace()
public MediaTrace(string switchName)
{
_switch = new BooleanSwitch(switchName, "[" + SafeSecurityHelper.GetAssemblyPartialName(Assembly.GetCallingAssembly()) + "]");
_switch = new BooleanSwitch(switchName, "[PresentationCore]");
}
public MediaTrace(string switchName, bool initialState) : this(switchName)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册