-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
033e9a3
commit 7ee10b2
Showing
9 changed files
with
102 additions
and
32 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
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
*/ | ||
|
||
/* base for keys */ | ||
/** base for keys */ | ||
public interface BaseKey { | ||
|
||
Object baseValue(); | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package pl.nightdev701.logger; | ||
|
||
/* | ||
Lukas - 15:00 | ||
30.09.2023 | ||
https://github.com/NightDev701 | ||
© SunLightScorpion 2020 - 2023 | ||
*/ | ||
|
||
import java.util.logging.Level; | ||
|
||
public abstract class AbstractLogger { | ||
|
||
public abstract void log(Level level, String msg); | ||
|
||
} | ||
|
26 changes: 26 additions & 0 deletions
26
src/main/java/pl/nightdev701/logger/standard/DefaultLogger.java
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,26 @@ | ||
package pl.nightdev701.logger.standard; | ||
|
||
/* | ||
Lukas - 15:02 | ||
30.09.2023 | ||
https://github.com/NightDev701 | ||
© SunLightScorpion 2020 - 2023 | ||
*/ | ||
|
||
import pl.nightdev701.logger.AbstractLogger; | ||
|
||
import java.util.logging.Level; | ||
import java.util.logging.Logger; | ||
|
||
public class DefaultLogger extends AbstractLogger { | ||
|
||
@Override | ||
public void log(Level level, String msg) { | ||
Logger logger = Logger.getLogger("openapi"); | ||
logger.log(level, msg); | ||
} | ||
|
||
} |