Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Get Line number and file name within logging #78

Closed
athyk opened this issue Dec 23, 2021 · 2 comments
Closed

[Feature] Get Line number and file name within logging #78

athyk opened this issue Dec 23, 2021 · 2 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@athyk
Copy link

athyk commented Dec 23, 2021

Is your feature request related to a problem? Please describe.
When you have a large amount of code that you would want to log and keep the logging there if enabled such as a development version of a project. An example would be [DEBUG] user is undefined Line 347 of /src/index.js

Describe the solution you'd like

log.debug($`user is ${user} Line ${log.line} of ${log.path}`);
@athyk athyk added the enhancement New feature or request label Dec 23, 2021
@lucemans
Copy link
Member

Extension of #64

@lucemans
Copy link
Member

Closing this issue due to duplicate

@lucemans lucemans added duplicate This issue or pull request already exists and removed enhancement New feature or request labels Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants