package
0.3.0
Repository: https://github.com/goer-project/goer-core.git
Documentation: pkg.go.dev

# README

Logger

A logger based on Zap

Installation

go get github.com/goer-project/goer-utils

Usage

l := logger.NewChannel(&logger.Channel{
    Path:    "/your-path/log.log",
    Level:   "debug",
    Days:    14,
    Console: true,
    Format: "json",
})

l.Info("This is a log.")

# Functions

NewChannel Log channel.

# Variables

No description provided by the author

# Structs

No description provided by the author