jcelliott / lumber

A simple logger for Go
MIT License
63 stars 16 forks source link

Prefixes to logs #7

Open beatgammit opened 10 years ago

beatgammit commented 10 years ago

Add some way to add a prefix to log lines. The idea is to know which package a log came from (like python's logging.getLogger).

sdomino commented 8 years ago

You can already add a prefix when creating a new logger, and my PR #12 if merged would allow for the same functionality when just using the default logger.