mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-05 23:33:36 +00:00
Update logger to 0.0.7 everywhere
This commit is contained in:
@@ -20,7 +20,7 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
compileOnly("dev.folia:folia-api:1.20.4-R0.1-SNAPSHOT")
|
||||
compileOnly("de.oliver.FancyAnalytics:logger:0.0.6")
|
||||
compileOnly("de.oliver.FancyAnalytics:logger:0.0.7")
|
||||
|
||||
// database drivers
|
||||
compileOnly("org.xerial:sqlite-jdbc:3.49.1.0")
|
||||
|
||||
@@ -6,6 +6,7 @@ import com.google.gson.TypeAdapter;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import de.oliver.fancyanalytics.logger.ExtendedFancyLogger;
|
||||
import de.oliver.fancyanalytics.logger.properties.ThrowableProperty;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
@@ -96,8 +97,7 @@ public class UUIDFetcher {
|
||||
|
||||
return data.id;
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("Could not fetch UUID for name: " + name);
|
||||
LOGGER.error(e);
|
||||
LOGGER.error("Could not fetch UUID for name: " + name, ThrowableProperty.of(e));
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -132,8 +132,7 @@ public class UUIDFetcher {
|
||||
|
||||
return currentNameData.name;
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("Could not fetch name for uuid: " + uuid);
|
||||
LOGGER.error(e);
|
||||
LOGGER.error("Could not fetch name for uuid: " + uuid, ThrowableProperty.of(e));
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
|
||||
compileOnly("de.oliver.FancyAnalytics:logger:0.0.6")
|
||||
compileOnly("de.oliver.FancyAnalytics:logger:0.0.7")
|
||||
compileOnly("org.jetbrains:annotations:26.0.2")
|
||||
|
||||
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.2")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.fancyinnovations.config;
|
||||
|
||||
import de.oliver.fancyanalytics.logger.ExtendedFancyLogger;
|
||||
import de.oliver.fancyanalytics.logger.properties.ThrowableProperty;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
|
||||
import java.io.File;
|
||||
@@ -77,8 +78,7 @@ public class Config {
|
||||
return;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
logger.error("Error creating config file: " + configFile.getAbsolutePath());
|
||||
logger.error(e);
|
||||
logger.error("Error creating config file: " + configFile.getAbsolutePath(), ThrowableProperty.of(e));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -138,8 +138,7 @@ public class Config {
|
||||
try {
|
||||
yaml.save(configFile);
|
||||
} catch (IOException e) {
|
||||
logger.error("Error saving config file: " + configFile.getAbsolutePath());
|
||||
logger.error(e);
|
||||
logger.error("Error saving config file: " + configFile.getAbsolutePath(), ThrowableProperty.of(e));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ dependencies {
|
||||
implementation(project(":libraries:packets:implementations:1_21_4"))
|
||||
implementation(project(":libraries:packets:implementations:1_21_3"))
|
||||
implementation(project(":libraries:packets:implementations:1_20_6"))
|
||||
implementation("de.oliver.FancyAnalytics:logger:0.0.4")
|
||||
implementation("de.oliver.FancyAnalytics:logger:0.0.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
||||
@@ -4,7 +4,7 @@ plugins {
|
||||
|
||||
dependencies {
|
||||
compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
|
||||
compileOnly("de.oliver.FancyAnalytics:logger:0.0.6")
|
||||
compileOnly("de.oliver.FancyAnalytics:logger:0.0.7")
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
||||
@@ -23,7 +23,7 @@ dependencies {
|
||||
implementation(project(":libraries:packets:packets-api"))
|
||||
implementation(project(":libraries:packets:implementations:1_20_6"))
|
||||
implementation(project(":libraries:packets:implementations:1_21_3"))
|
||||
implementation("de.oliver.FancyAnalytics:logger:0.0.6")
|
||||
implementation("de.oliver.FancyAnalytics:logger:0.0.7")
|
||||
}
|
||||
|
||||
paper {
|
||||
|
||||
Reference in New Issue
Block a user