https://github.com/zkat/logloc
Adds source location to console loggers
https://github.com/zkat/logloc
Last synced: 6 months ago
JSON representation
Adds source location to console loggers
- Host: GitHub
- URL: https://github.com/zkat/logloc
- Owner: zkat
- Created: 2014-04-24T01:38:52.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-13T09:04:11.000Z (almost 11 years ago)
- Last Synced: 2025-06-06T23:34:25.160Z (7 months ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# logloc
Adds source location to `console` logger statements, globally.
This might help find where particular logs are coming from, even
if they come from a library somewhere.
## Quickstart
`npm install logloc`
```
require("logloc");
function runme() {
console.log("Logged!");
}
runme(); // Logs "foo (at ::)"
```