mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-26 20:47:01 +01:00
Add debug logging (in /mv debug 3)
This commit is contained in:
parent
4f756a4c2d
commit
bf663a76dc
@ -135,7 +135,7 @@ public class DumpsCommand extends MultiverseCommand {
|
||||
LogsType logsType = parsedFlags.flagValue("--logs", LogsType.class);
|
||||
if (logsType == null) {
|
||||
logsType = LogsType.MCLOGS;
|
||||
Logging.info("logs was null so set to mclogs");
|
||||
Logging.finer("Logs was null so set to mclogs");
|
||||
}
|
||||
|
||||
|
||||
@ -145,7 +145,7 @@ public class DumpsCommand extends MultiverseCommand {
|
||||
Services services = parsedFlags.flagValue("--upload", Services.class);
|
||||
if (services == null) {
|
||||
services = Services.PASTEGG;
|
||||
Logging.info("upload was null so set to pastegg");
|
||||
Logging.finer("Upload was null so set to pastegg");
|
||||
}
|
||||
|
||||
|
||||
@ -156,8 +156,8 @@ public class DumpsCommand extends MultiverseCommand {
|
||||
@Override
|
||||
public void run() {
|
||||
HashMap<String, String> pasteURLs = new HashMap<>();
|
||||
Logging.info("Logs type is: " + finalLogsType);
|
||||
Logging.info("Services is: " + finalServices);
|
||||
Logging.finer("Logs type is: " + finalLogsType);
|
||||
Logging.finer("Services is: " + finalServices);
|
||||
|
||||
// Deal with logs flag
|
||||
if (!parsedFlags.hasFlag("--paranoid")) {
|
||||
|
Loading…
Reference in New Issue
Block a user