Skip to content

Wang-squirrel/nlog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

a log lib can easy log and print stack

install

go get -u github.com/ningmingxiao/[email protected]

example

package main

import (
	"github.com/ningmingxiao/nlog"
)

func main() {
	nlog.PrintStack()
	nlog.LogStack("/var/log/test.log")
	nlog.LogFile("/var/log/test.log", "hello")
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 100.0%