Code Monkey home page Code Monkey logo

discordrus's People

Contributors

ewohltman avatar kz avatar tsuz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

discordrus's Issues

New Trace log level in logrus

Hello, I'm just opening this issue to let you know, the next release of logrus (v1.2.0) will add a new trace level named Trace below Debug.
Here is the PR for reference sirupsen/logrus#844
You may want to take into account this new level.

Question about usage

Hey there,
This is definitely something I will be using, looks great. I was wondering if it also had the ability to take all standard console logs generated by Discordgo and output them through logrus as well? I am not to the point of setting up much within discord itself yet, I would really like to have all current logs go through logrus though.

Thanks,
-MH

Fatal color returns warn color

When I set the fatal color, it seems to use warn color.

func init() {
...
EnableCustomColors: true,      
CustomLevelColors: &discordrus.LevelColors{
	Debug: 10170623,
	Info:  3581519,
	Warn:  14913035,
	Error: 12651008,
	Panic: 12651008,
	Fatal: 12651008,
},
...
}

func main() {
	log.Error("Hi")
	log.Fatal("Hi")
}

0030-05-10 10 46 26

It seems like this code is causing the issue.

Is this currently being worked on? If not, I can make a PR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.