Skip to content

mpsrig/apache-logformat

 
 

Repository files navigation

apache-logformat

Build Status

GoDoc

Coverage Status

SYNOPSYS

import (
  "net/http"
  "os"

  "github.com/lestrrat-go/apache-logformat"
)

func main() {
  var s http.ServeMux
  s.HandleFunc("/", handleIndex)
  s.HandleFunc("/foo", handleFoo)

  http.ListenAndServe(":8080", apachelog.CombinedLog.Wrap(s, os.Stderr))
}

DESCRIPTION

This is a port of Perl5's Apache::LogFormat::Compiler to golang

About

Port of Perl5's Apache::LogFormat::Compiler to golang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%