Tiny shortcut to reduce string checking in non-debug scenarios
This commit is contained in:
parent
8544714cbb
commit
1f03b1e633
|
|
@ -379,7 +379,7 @@ namespace Microsoft.AspNetCore.NodeServices.HostingModels
|
||||||
{
|
{
|
||||||
if (evt.Data != null)
|
if (evt.Data != null)
|
||||||
{
|
{
|
||||||
if (IsDebuggerMessage(evt.Data))
|
if (_launchWithDebugging && IsDebuggerMessage(evt.Data))
|
||||||
{
|
{
|
||||||
OutputLogger.LogWarning(evt.Data);
|
OutputLogger.LogWarning(evt.Data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue