Skip to content

Commit

Permalink
update README and downgrade the minimum go version
Browse files Browse the repository at this point in the history
  • Loading branch information
chzyer committed Apr 24, 2022
1 parent a21c317 commit 2f95bdd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
Logex
=======
[![Build Status](https://travis-ci.org/chzyer/logex.svg?branch=master)](https://travis-ci.org/chzyer/logex)
[![GoDoc](https://godoc.org/gopkg.in/logex.v1?status.svg)](https://godoc.org/gopkg.in/logex.v1)
[![Join the chat at https://gitter.im/go-logex/logex](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/go-logex/logex?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![GoDoc](https://godoc.org/github.com/chzyer/logex?status.svg)](https://godoc.org/github.com/chzyer/logex)

An golang log lib, supports tracing and level, wrap by standard log lib

How To Get
=======
shell
```
go get gopkg.in/logex.v1
go get github.com/chzyer/logex
```

source code
```{go}
import "gopkg.in/logex.v1" // package name is logex
import "github.com/chzyer/logex" // package name is logex
func main() {
logex.Info("Hello!")
Expand All @@ -26,7 +25,7 @@ Level
=======

```{go}
import "gopkg.in/logex.v1"
import "github.com/chzyer/logex"
func main() {
logex.Println("")
Expand Down Expand Up @@ -71,7 +70,7 @@ All log will attach theirs stack info. Stack Info will shown by an layout, `{pac
```{go}
package main
import "gopkg.in/logex.v1"
import "github.com/chzyer/logex"
func test() {
logex.Pretty("hello")
Expand All @@ -95,7 +94,7 @@ You can trace an error if you want.
package main
import (
"gopkg.in/logex.v1"
"github.com/chzyer/logex"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/chzyer/logex

go 1.17
go 1.15

0 comments on commit 2f95bdd

Please sign in to comment.