Package com.nt.udc.io

Interface ILogger

All Known Implementing Classes:
COSARLogger

public interface ILogger
This interface is used for logging messages.
Since:
JDK1.1.7
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    alert(String functionName, String msg)
    This function is called when an alert message needs to be logged.
    void
    This function is called when an alarm needs to be cleared.
    boolean
    debug(String functionName, String msg)
    This function is called when a debug message needs to be logged.
    boolean
    error(String functionName, String msg)
    This function is called when an error message needs to be logged.
    boolean
    info(String msg)
    This function is called when an info message needs to be logged.
    boolean
    This function is called when a notice message needs to be issued.
  • Method Details

    • alert

      boolean alert(String functionName, String msg)
      This function is called when an alert message needs to be logged.
      Returns:
      true if successful, false otherwise
    • debug

      boolean debug(String functionName, String msg)
      This function is called when a debug message needs to be logged.
      Returns:
      true if successful, false otherwise
    • error

      boolean error(String functionName, String msg)
      This function is called when an error message needs to be logged.
      Returns:
      true if successful, false otherwise
    • info

      boolean info(String msg)
      This function is called when an info message needs to be logged.
      Returns:
      true if successful, false otherwise
    • notice

      boolean notice(String msg)
      This function is called when a notice message needs to be issued.
      Returns:
      true if successful, false otherwise
    • clear

      void clear()
      This function is called when an alarm needs to be cleared.