Skip to content

Commit 9e39a41

Browse files
committed
Add: pkg/logging - Little logging library.
1 parent 2ec9253 commit 9e39a41

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/logging/logging.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package logging
2+
3+
import "github.com/labstack/gommon/color"
4+
5+
// Error log error messages.
6+
func Error(str string) {
7+
color.Println(color.Red("[✖] ") + color.Yellow(str))
8+
}

0 commit comments

Comments
 (0)