question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi there

Currently, the only way to remove the log output from this module is to set NODE_ENV to production. Moreover, axios is expected to run in Node.js and in browsers: I don’t think there is a way to set such a variable in the later environment.

Could we consider using the debug package instead of console.log ? (See https://github.com/visionmedia/debug#browser-support)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kuitoscommented, Feb 1, 2018

released at v1.2.0, see https://github.com/kuitos/axios-extensions#enable-logging Thanks for your feedback!😀

0reactions
fwoelffelcommented, Feb 1, 2018

That’d be great 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Logging - Wikipedia
Logging is the process of cutting, processing, and moving trees to a location for transport. It may include skidding, on-site processing, and loading...
Read more >
logging — Logging facility for Python — Python 3.11.1 ...
This module defines functions and classes which implement a flexible event logging system for applications and libraries.
Read more >
Logging | Definition & Facts - Encyclopedia Britannica
logging, process of harvesting trees, sawing them into appropriate lengths (bucking), and transporting them (skidding) to a sawmill.
Read more >
What is logging? - The Rainforest - Mongabay
Logging, or commercial logging, involves cutting trees for sale as timber or pulp. The timber is used to build homes, furniture, etc and...
Read more >
Logging Definition & Meaning - Dictionary.com
Logging definition, the process, work, or business of cutting down trees and transporting the logs to sawmills. See more.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found