public class ErrorLogger extends Object
| Constructor and Description |
|---|
ErrorLogger() |
| Modifier and Type | Method and Description |
|---|---|
static TreeMap<String,List<String>> |
getLoggedErrors(IPlugin plugin)
Used to get all lines for different errors in a TreeMap.
|
static void |
logThrowable(Throwable e,
File logsFolder) |
public static void logThrowable(Throwable e, File logsFolder) throws IOException
IOExceptionpublic static TreeMap<String,List<String>> getLoggedErrors(IPlugin plugin) throws IOException
plugin - Plugin that uses APF.IOException - If file can not be read.Copyright © 2018. All rights reserved.