Socket
Socket
Sign inDemoInstall

github.com/winterssy/easylog

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/winterssy/easylog


Version published

Readme

Source

Easylog

A simple logger for Go, support output level.

Build Status Go Report Card GoDoc License

Install

go get -u github.com/winterssy/easylog

Usage

import "github.com/winterssy/easylog"

Example

package main

import "github.com/winterssy/easylog"

func main() {
	easylog.SetLevel(easylog.Ldebug)
	easylog.Debug("hello world")
	easylog.Info("hello world")
	easylog.Warn("hello world")
	easylog.Error("hello world")
}

License

MIT.

FAQs

Last updated on 02 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc