Package URL change
This commit is contained in:
parent
51290b4f92
commit
e046e3e7b0
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
This is Yet Another Logger for Go programs.
|
This is Yet Another Logger for Go programs.
|
||||||
|
|
||||||
![Screenshot](https://raw.githubusercontent.com/kirsle/golog/master/screenshot.png)
|
![Screenshot](/screenshot.png)
|
||||||
|
|
||||||
This is a logging package designed for local interactive shells running text
|
This is a logging package designed for local interactive shells running text
|
||||||
based Go programs. To that end, this prints colorful log lines with customizable
|
based Go programs. To that end, this prints colorful log lines with customizable
|
||||||
|
@ -22,7 +22,7 @@ use it for other personal Go projects.
|
||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "github.com/kirsle/golog"
|
import golog "git.kirsle.net/go/log"
|
||||||
|
|
||||||
var log golog.Logger
|
var log golog.Logger
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ func main() {
|
||||||
```
|
```
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2017 Noah Petherbridge
|
Copyright (c) 2017-18 Noah Petherbridge
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package golog
|
package log
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
@ -6,7 +6,7 @@ import (
|
||||||
"text/template"
|
"text/template"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/kirsle/golog/ansi"
|
"git.kirsle.net/go/log/ansi"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Convenient log formats to use in your logger.
|
// Convenient log formats to use in your logger.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package golog
|
package log
|
||||||
|
|
||||||
import "testing"
|
import "testing"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package golog
|
package log
|
||||||
|
|
||||||
import "github.com/kirsle/golog/ansi"
|
import "git.kirsle.net/go/log/ansi"
|
||||||
|
|
||||||
// Theme defines the color scheme for a logger. Each log level has two colors:
|
// Theme defines the color scheme for a logger. Each log level has two colors:
|
||||||
// a primary (for the label itself) and a secondary color. For example, if your
|
// a primary (for the label itself) and a secondary color. For example, if your
|
||||||
|
|
Loading…
Reference in New Issue
Block a user