diff options
| author | Felix Hanley <felix@userspace.com.au> | 2020-03-20 10:06:35 +0000 |
|---|---|---|
| committer | Felix Hanley <felix@userspace.com.au> | 2020-03-20 10:06:35 +0000 |
| commit | 3f0c3fbfaf31741cecdf079c6d9f7f8c1dc78225 (patch) | |
| tree | 7d2c0443dea5b1bc16e7580f22af4c16e2f09da8 /options.go | |
| parent | e96b7a1f2a4913029c4c2371c62e053d44345a30 (diff) | |
| download | templates-3f0c3fbfaf31741cecdf079c6d9f7f8c1dc78225.tar.gz templates-3f0c3fbfaf31741cecdf079c6d9f7f8c1dc78225.tar.bz2 | |
Diffstat (limited to 'options.go')
| -rw-r--r-- | options.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,10 +16,10 @@ func Base(s string) Option { } } -func Logger(f func(...interface{})) Option { +func Debug(f func(...interface{})) Option { return func(t *Templates) error { log = f - log("logger set") + log("debugging templates") return nil } } |
