🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

github.com/github-reneon/easy_logging

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/github-reneon/easy_logging

v0.0.0-20210418191704-dd323d06f37c
Source
Go
Version published
Created
Source

GOLANG Easy Logging

Why?

I made this because I'm bad at coding golang and just wanted a way to easily log messages to a text file. Added benefit of making any projects look cleaner with this repo I guess idk.

Install

Like any other go package run go get "github.com/Github-Reneon/easy_logging/"

Usage

Create a FileWriter object:

logExample := FileWriter {"nameoffile.txt"}

Write to a file:

logExample.Write("Message", false)

Write to a file and display the message in console:

logExample.Write("Message", true)

FAQs

Package last updated on 18 Apr 2021

Did you know?

Socket

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