diff options
Diffstat (limited to 'modules/logging')
-rw-r--r-- | modules/logging/filewriter.go | 16 | ||||
-rw-r--r-- | modules/logging/filterencoder.go | 16 | ||||
-rw-r--r-- | modules/logging/netwriter.go | 7 |
3 files changed, 19 insertions, 20 deletions
diff --git a/modules/logging/filewriter.go b/modules/logging/filewriter.go index c0b5715..f902a6d 100644 --- a/modules/logging/filewriter.go +++ b/modules/logging/filewriter.go @@ -131,14 +131,14 @@ func (fw FileWriter) OpenWriter() (io.WriteCloser, error) { // UnmarshalCaddyfile sets up the module from Caddyfile tokens. Syntax: // -// file <filename> { -// roll_disabled -// roll_size <size> -// roll_uncompressed -// roll_local_time -// roll_keep <num> -// roll_keep_for <days> -// } +// file <filename> { +// roll_disabled +// roll_size <size> +// roll_uncompressed +// roll_local_time +// roll_keep <num> +// roll_keep_for <days> +// } // // The roll_size value has megabyte resolution. // Fractional values are rounded up to the next whole megabyte (MiB). diff --git a/modules/logging/filterencoder.go b/modules/logging/filterencoder.go index 6a768dd..1a6842e 100644 --- a/modules/logging/filterencoder.go +++ b/modules/logging/filterencoder.go @@ -98,14 +98,14 @@ func (fe *FilterEncoder) Provision(ctx caddy.Context) error { // UnmarshalCaddyfile sets up the module from Caddyfile tokens. Syntax: // -// filter { -// wrap <another encoder> -// fields { -// <field> <filter> { -// <filter options> -// } -// } -// } +// filter { +// wrap <another encoder> +// fields { +// <field> <filter> { +// <filter options> +// } +// } +// } func (fe *FilterEncoder) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { for d.Next() { for d.NextBlock(0) { diff --git a/modules/logging/netwriter.go b/modules/logging/netwriter.go index 2bf23bf..5a6cf39 100644 --- a/modules/logging/netwriter.go +++ b/modules/logging/netwriter.go @@ -102,10 +102,9 @@ func (nw NetWriter) OpenWriter() (io.WriteCloser, error) { // UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax: // -// net <address> { -// dial_timeout <duration> -// } -// +// net <address> { +// dial_timeout <duration> +// } func (nw *NetWriter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { for d.Next() { if !d.NextArg() { |