All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.swoval.logging.Logger Maven / Gradle / Ivy

There is a newer version: 2.1.12
Show newest version
package com.swoval.logging;

/** A simple logger. */
public interface Logger {

  /**
   * Returns the level for this Logger.
   *
   * @return the level.
   */
  Loggers.Level getLevel();

  /**
   * Print a debug message. This is for debugging implementation details and may be very noisy.
   *
   * @param message the message to print.
   */
  void verbose(String message);
  /**
   * Print a debug message.
   *
   * @param message the message to print.
   */
  void debug(String message);

  /**
   * Print an informational message.
   *
   * @param message the message to print.
   */
  void info(String message);

  /**
   * Print a warning message.
   *
   * @param message the message to print.
   */
  void warn(String message);
  /**
   * Print an error message
   *
   * @param message the message to print.
   */
  void error(String message);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy