Allow multiple loggers to be provided
See original GitHub issueCool! Is the syntax to support multiple loggers like this?
dotnet test --logger trx;LogFileName=foo.trx --logger html;LogFileName=foo.html
_Originally posted by @RehanSaeed in https://github.com/microsoft/vstest/pull/2103#issuecomment-533487376_
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Python multiple loggers not working. How to configure ...
I am trying to configure two loggers, one logger is for INFO level, and the other logger is for DEBUG level. I would...
Read more >Guide to Python Logging
You can create multiple loggers with different configurations for different parts of the application. Here's an example of two loggers with ...
Read more >logging.config — Logging configuration
For the purposes of this discussion, we can say that the logger represents the source, and the handler the destination, of a connection...
Read more >Logging Cookbook — Python 3.11.4 documentation
Multiple calls to logging.getLogger('someLogger') return a reference to the same logger object. This is true not only within the same module, ...
Read more >Logger in Java - Java Logging Example
There are two default handlers provided by Java Logging API. ConsoleHandler: This handler writes all the logging messages to console ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just using multiple loggers would be
<VSTestLogger>trx;html</VSTestLogger>
. To also specify the paths you need more complex syntax: https://stackoverflow.com/a/21743192Switching from
dotnet vstest
that had multiple--logger
arguments to usingdotnet test
worked for us. Thanks!