-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frick comments, frick javadocs and frick compiler for complaining it
- Loading branch information
Showing
9 changed files
with
460 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// This file is part of SE7ENLib, created on 17/04/2024 (18:01 PM) | ||
// Name : Logger | ||
// Author : Death GOD 7 | ||
|
||
package io.github.deathgod7.SE7ENLib; | ||
|
||
import io.github.deathgod7.SE7ENLib.database.DatabaseManager; | ||
|
||
/** | ||
* Represents the Logger | ||
* @version 1.0 | ||
* @since 1.0 | ||
*/ | ||
public class Logger { | ||
/** | ||
* Util function to log the message | ||
* @param message The message to log | ||
*/ | ||
public static void log(String message) { | ||
boolean x = DatabaseManager.getInstance().getDebugMode(); | ||
if (x) { | ||
System.out.println(message); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.