Class LoggingModule


  • public class LoggingModule
    extends Object
    A helper module which logs messages based on a condition.
    Author:
    Collin Alpert
    • Method Detail

      • log

        public void log​(String text)
        Prints messages to the query, while considering the DBConnection.LOG_QUERIES constant.
        Parameters:
        text - The message to print.
      • logf

        public void logf​(String text,
                         Object... params)
        Prints formatted messages to the query, while considering the DBConnection.LOG_QUERIES constant.
        Parameters:
        text - The formatted text.
        params - The parameters to be inserted into the string.