jcelliott / lumber

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

Panic on multiple log.Close() calls #6

Open jcelliott opened 10 years ago

jcelliott commented 10 years ago

Calling log.Close() more than once will cause a panic with:

runtime error: close of closed channel

The close method should be safe to call multiple times.