chromelogger | chrome extension for server side console logging with .NET
kandi X-RAY | chromelogger Summary
kandi X-RAY | chromelogger Summary
The .NET Version of chromelogger. Add output to the Chrome console from your .NET application's server-side code.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of chromelogger
chromelogger Key Features
chromelogger Examples and Code Snippets
Community Discussions
Trending Discussions on chromelogger
QUESTION
I have set up ChromeLogger, the browser extension and the backend library, which works fine.
However I am developing an API which I test in Postman not in the browser so I want to see the same debug logs in Postman in the console or somewhere in the response previews.
Is there any way of installing an extension into Postman, the same as the browser extension?
...ANSWER
Answered 2019-Sep-15 at 06:24After reading this article, which explains how the debug logs are encoded in a header, I thought I could just write a post-response "test" in Postman to unpack the header and log it into the Postman console.
This Postman article explains how you can set a "test" globally by editing the test suite itself or folders, so you can make this work pretty much like an extension without having to add it to each request. Click the '...' ellipsis next to the test suite, click Edit, choose the Tests tab and enter the JavaScript code below.
I tried three ways of outputting the data, each with their strengths and weaknesses, as noted in the comments.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install chromelogger
In your Startup class add a using ChromeLogger; line. Then in the ConfigureServices method, add a call to services.AddChromeLogger();. Finally in the very first line of the Configure method, add a call to app.UseChromeLogger();. It is probably a good idea to only make this call in a non-production environment.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page