An open API service indexing awesome lists of open source software.

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

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 ::)"
```