Package com.nt.udc.io

Class COSARLogger

java.lang.Object
com.nt.udc.io.COSARLogger
All Implemented Interfaces:
ILogger

public class COSARLogger extends Object implements ILogger
This class represents the wrapper for com.baynetworks.osa.log.Logger.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • error

      public boolean error(String functionName, String msg)
      Description copied from interface: ILogger
      This function is called when an error message needs to be logged.
      Specified by:
      error in interface ILogger
      Returns:
      true if successful, false otherwise
    • debug

      public boolean debug(String functionName, String msg)
      Description copied from interface: ILogger
      This function is called when a debug message needs to be logged.
      Specified by:
      debug in interface ILogger
      Returns:
      true if successful, false otherwise
    • alert

      public boolean alert(String functionName, String msg)
      Description copied from interface: ILogger
      This function is called when an alert message needs to be logged.
      Specified by:
      alert in interface ILogger
      Returns:
      true if successful, false otherwise
    • info

      public boolean info(String msg)
      Description copied from interface: ILogger
      This function is called when an info message needs to be logged.
      Specified by:
      info in interface ILogger
      Returns:
      true if successful, false otherwise
    • notice

      public boolean notice(String msg)
      Description copied from interface: ILogger
      This function is called when a notice message needs to be issued.
      Specified by:
      notice in interface ILogger
      Returns:
      true if successful, false otherwise
    • clear

      public void clear()
      Description copied from interface: ILogger
      This function is called when an alarm needs to be cleared.
      Specified by:
      clear in interface ILogger