mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 22:14:45 +00:00
refactor: rename main package
This commit is contained in:
92 files changed
+379
-398
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package com.github.alathra.alathranwars.utility;
|
||||
|
||||
|
||||
import com.github.alathra.alathranwars.AlathranWars;
|
||||
import net.kyori.adventure.text.logger.slf4j.ComponentLogger;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* A class that provides shorthand access to {@link AlathranWars#getComponentLogger}.
|
||||
*/
|
||||
public class Logger {
|
||||
/**
|
||||
* Get component logger. Shorthand for:
|
||||
*
|
||||
* @return the component logger {@link AlathranWars#getComponentLogger}.
|
||||
*/
|
||||
@NotNull
|
||||
public static ComponentLogger get() {
|
||||
return AlathranWars.getInstance().getComponentLogger();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user