labstack / gommon

Common packages for Go
MIT License
539 stars 101 forks source link

Add possibility to set skip parameter #41

Open hansbogert opened 3 years ago

hansbogert commented 3 years ago

In our code base we are wrapping gommon.Log, however when looking at the log output, the referencing sourcecode and line number are incorrect, since gommon.Log uses a hardcoded skip parameter.

Can we make this parameter public, or make a method to be able to change that?