renaming from "package flog" to "package log"

master
Charles Iliya Krempeaux 2022-06-29 06:56:41 -07:00
parent eba8823c9e
commit a8569fedfb
59 changed files with 62 additions and 69 deletions

View File

@ -1,18 +1,11 @@
# go-flog # go-log
A library that provides structured and formatted logging for the Go programming language. A library that provides structured and formatted logging for the Go programming language.
(This package was originally named `flog`, but in version 2 was renamed to `log`.)
## Documention ## Documention
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-flog Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-log
[![GoDoc](https://godoc.org/github.com/reiver/go-flog?status.svg)](https://godoc.org/github.com/reiver/go-flog) [![GoDoc](https://godoc.org/github.com/reiver/go-log?status.svg)](https://godoc.org/github.com/reiver/go-log)
## More Routers
In addition to the builtin routers that go-flog comes with, other external
routers are also available. These include:
* [go-slackchannelrouter](https://github.com/reiver/go-slackchannelrouter) Makes it so log messages get posted to a [Slack](https://slack.com/) channel.

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
func newContext(cascade ...interface{}) map[string]interface{} { func newContext(cascade ...interface{}) map[string]interface{} {

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
// NewCopyingRouter returns an initialized CopyingRouter. // NewCopyingRouter returns an initialized CopyingRouter.

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"os" "os"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"github.com/reiver/go-dotquote" "github.com/reiver/go-dotquote"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
var ( var (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

2
doc.go
View File

@ -101,4 +101,4 @@ Makes it so log messages get posted to a Slack channel.
https://github.com/reiver/go-slackchannelrouter https://github.com/reiver/go-slackchannelrouter
*/ */
package flog package log

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
// NewFilteringRouter returns an initialized FilteringRouter. // NewFilteringRouter returns an initialized FilteringRouter.

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
type Flogger interface { type Flogger interface {

View File

@ -1,4 +1,4 @@
package flog package log
type internalFlogger struct { type internalFlogger struct {

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
func (flogger *internalFlogger) With(cascade ...interface{}) Flogger { func (flogger *internalFlogger) With(cascade ...interface{}) Flogger {

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"io" "io"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"runtime" "runtime"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package flog package log
func (receiver *internalLogger) MuteAlert() { func (receiver *internalLogger) MuteAlert() {
receiver.mutedDebug = true receiver.mutedDebug = true

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"strings" "strings"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package flog package log
func (receiver *internalLogger) UnmuteAlert() { func (receiver *internalLogger) UnmuteAlert() {
receiver.mutedAlert = false receiver.mutedAlert = false

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package flog package log
type Logger interface { type Logger interface {
Alert(...interface{}) error Alert(...interface{}) error

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"testing" "testing"

View File

@ -1,4 +1,4 @@
package flog package log
// NewMappingRouter returns an initialized MappingRouter. // NewMappingRouter returns an initialized MappingRouter.

View File

@ -1,4 +1,4 @@
package flog package log
// NewNonBlockingRouter returns an initialized NonBlockingRouter. // NewNonBlockingRouter returns an initialized NonBlockingRouter.

View File

@ -1,4 +1,4 @@
package flog package log
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package flog package log
type Router interface { type Router interface {