Bungee Error Log Code (Ramblings)

Discussion in 'BungeeCord Plugin Development' started by hcherndon, Mar 12, 2013.

  1. So I have been toying around with a better BungeeCord error logging system. Giving you more details when someone reports an error to you. Just thought I should share it.

    Code: http://pastebin.com/QKSRsgTy

    When it is all said and done, the error report looks similar to this: http://pastebin.com/APZWh93T

    Any thoughts? Curious as to what people think.
     
  2. Favorlock

    Sponsor

    Awesome, should be useful for making error logs easy to read.
     
  3. Thanks! I just don't like making dependancies. Would be nice if something like it directly into Bungee, so plugins can be logged and organized, also helps if an error occurs among Bungee during the night time, (Or anytime for that matter), and you are not their to see what has caused it, at least you know it is logged somewhere.. *nudge nudge*.
     
  4. md_5

    Administrator Developer

    It's confusing though, because it had to be manually implemented by devs anyway
     
  5. Code (Text):
    try{
    Fail Code
    } catch (Exception e) {
    this.logError(this, e, "Extremely Severe", "I really suck at coding...", true, false, true);
    }
    But I can see how some people wouldn't like it.