Update logger to 0.0.7 everywhere

This commit is contained in:
Oliver
2025-08-30 15:05:36 +02:00
parent d176f09aa0
commit 001c903cbf
27 changed files with 49 additions and 60 deletions

View File

@@ -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")

View File

@@ -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;
}
}

View File

@@ -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")

View File

@@ -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));
}
}
}

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {