test updates

- add tests for callers accessed directly or via function pointer
  (results are unchanged)
- undo unwanted capitalization/export in previous commit
This commit is contained in:
Dave Clendenan
2017-08-02 17:21:18 -07:00
parent 7d48cb786e
commit 3cb9e18ef9
3 changed files with 54 additions and 7 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ package logrus
import "time"
// DefaultTimestampFormat is YYYY-mm-DDTHH:MM:SS-TZ
const DefaultTimestampFormat = time.RFC3339
// defaultTimestampFormat is YYYY-mm-DDTHH:MM:SS-TZ
const defaultTimestampFormat = time.RFC3339
// The Formatter interface is used to implement a custom Formatter. It takes an
// `Entry`. It exposes all the fields, including the default ones: