Skip to content

Commit 575c65a

Browse files
committed
Removed @deprecated from necessary methods;
Updated version
1 parent 3f7fc89 commit 575c65a

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Simple logger for java with mixpanel support
66
<dependency>
77
<groupId>io.github.Fi0x</groupId>
88
<artifactId>JavaLogger</artifactId>
9-
<version>1.3.2</version>
9+
<version>1.3.3</version>
1010
</dependency>
1111
```

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.Fi0x</groupId>
88
<artifactId>JavaLogger</artifactId>
9-
<version>1.3.2</version>
9+
<version>1.3.3</version>
1010
<name>Java Logger</name>
1111
<description>This is a Library for a custom Java Logger</description>
1212
<url>http://github.com/Fi0x/JavaLogger</url>

src/main/java/io/fi0x/javalogger/logging/Logger.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ public static boolean log(String text, String templateName, Exception e, int err
213213
* @param errorCode The code for the error that occured (Default is 0).
214214
* @return True if logging was successful, False if the {@link LogTemplate} does not exist.
215215
*/
216-
@Deprecated
217216
public static boolean log(String text, Enum<?> templateName, Exception e, int errorCode)
218217
{
219218
return log(text, templateName.name(), e, errorCode);
@@ -251,7 +250,6 @@ public static boolean log(String text, Enum<?> templateName, Exception e)
251250
* @param templateName The name of the {@link LogTemplate} that should be used.
252251
* @return True if logging was successful, False if the {@link LogTemplate} does not exist.
253252
*/
254-
@Deprecated
255253
public static boolean log(String text, String templateName)
256254
{
257255
return log(text, templateName, null);
@@ -263,7 +261,6 @@ public static boolean log(String text, String templateName)
263261
* @param template The enum that should be used as a name for the {@link LogTemplate}.
264262
* @return True if logging was successful, False if the {@link LogTemplate} does not exist.
265263
*/
266-
@Deprecated
267264
public static boolean log(String text, Enum<?> template)
268265
{
269266
return log(text, template, null);

0 commit comments

Comments
 (0)