lestrrat / go-apache-logformat

[MOVED] See github.com/lestrrat-go/apache-logformat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-apache-logformat

Build Status

GoDoc

Coverage Status

WARNING

This repository has been moved to github.com/lestrrat-go/apache-logformat. This repository exists so that libraries pointing to this URL will keep functioning, but this repository will NOT be updated in the future. Please use the new import path.

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

[MOVED] See github.com/lestrrat-go/apache-logformat

License:MIT License


Languages

Language:Go 100.0%