Class Log


  • public class Log
    extends java.lang.Object
    Super simple library for super easy console logging
    Version:
    2.1.1 MIT License Copyright (c) 2019 Malte Schink (malteschink.de)
    Author:
    m4schini
    • Constructor Summary

      Constructors 
      Constructor Description
      Log()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void critical​(java.lang.Object text)  
      static void divide()  
      void enableLog​(boolean enable)  
      void enableLog​(boolean enable, boolean log_change)  
      static void error​(java.lang.Object text)  
      static void loading​(int part)
      Prints a loadingbar to console.
      static void status​(java.lang.Object text)  
      static void success​(java.lang.Object text)  
      static void warning​(java.lang.Object text)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Log

        public Log()
    • Method Detail

      • enableLog

        public void enableLog​(boolean enable)
      • enableLog

        public void enableLog​(boolean enable,
                              boolean log_change)
      • status

        public static void status​(java.lang.Object text)
      • success

        public static void success​(java.lang.Object text)
      • error

        public static void error​(java.lang.Object text)
      • warning

        public static void warning​(java.lang.Object text)
      • critical

        public static void critical​(java.lang.Object text)
      • divide

        public static void divide()
      • loading

        public static void loading​(int part)
        Prints a loadingbar to console. You can have a maximun of 10 10%-steps. If you have to abort the loading process input -1 or you have to print \n before the next line of output
        Parameters:
        part - 1-10 = 10% Steps | -1 abort