Skip to content

Conversation

@MarcoRossignoli
Copy link
Collaborator

Add in-proc collector log

cc: @tonerdo @petli

EqtTrace.Error("{0}: Failed to unload module with error: {1}", CoverletConstants.InProcDataCollectorName, ex);
}

_eqtTrace.Error("{0}: Failed to unload module with error: {1}", CoverletConstants.InProcDataCollectorName, ex);
Copy link
Collaborator Author

@MarcoRossignoli MarcoRossignoli Sep 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vagisha-nidhi I removed check EqtTrace.IsErrorEnabled here and on other place because I don't understand how I can define switch level using command dotnet test --collect:"Xplat code coverage" --diag:"diag.txt"
Again they're not used in all other place(out-of-proc collector), are used only for Info and in one place only for verbose.
Can you explain how it works?Or how can I pass log level for EqtTrace to dotnet test

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vagisha-nidhi I merged...let me know if it's a problem.

@MarcoRossignoli MarcoRossignoli merged commit 458a019 into coverlet-coverage:master Sep 23, 2019
@MarcoRossignoli MarcoRossignoli deleted the logs branch September 23, 2019 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation enhancement General enhancement request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants