package com.dsdev.moddle;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Contains the methods to be used for logging.
 *
 * @author Greenlock28
 */
public class Logger {

    public static void info(String message) {
        System.out.println("[" + getCurrentTimeStamp() + "][Moddle][Info] " + message);
    }

    public static void info(String prefix, String message) {
        System.out.println("[" + getCurrentTimeStamp() + "][Moddle][" + prefix + "][Info] " + message);
    }

    public static void warning(String message) {
        System.out.println("[" + getCurrentTimeStamp() + "][Moddle][Warning] " + message);
    }

    public static void warning(String prefix, String message) {
        System.out.println("[" + getCurrentTimeStamp() + "][Moddle][" + prefix + "][Warning] " + message);
    }

    public static void error(String message) {
        System.out.println("[" + getCurrentTimeStamp() + "][Moddle][Error] " + message);
    }

    public static void error(String prefix, String message) {
        System.out.println("[" + getCurrentTimeStamp() + "][Moddle][" + prefix + "][Error] " + message);
    }

    public static String getCurrentTimeStamp() {
        SimpleDateFormat sdfDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        Date now = new Date();
        String strDate = sdfDate.format(now);
        return strDate;
    }

}

@@ -299,24 +299,26 @@
 oddle%5D%5BInfo%5D
+ -
  %22 + message
@@ -477,16 +477,18 @@
 %22%5D%5BInfo%5D
+ -
  %22 + mes
@@ -618,32 +618,34 @@
 Moddle%5D%5BWarning%5D
+ -
  %22 + message);%0A 
@@ -806,16 +806,18 @@
 Warning%5D
+ -
  %22 + mes
@@ -943,32 +943,34 @@
 %5D%5BModdle%5D%5BError%5D
+ -
  %22 + message);%0A 
@@ -1127,16 +1127,18 @@
 %5D%5BError%5D
+ -
  %22 + mes

Add a " - " in between the tags and the text in the logger Signed-off-by:Nathan2055 <spychicken2055+code@gmail.com>