Class LogMessage


  • public abstract class LogMessage
    extends java.lang.Object
    This is an utility class used to format the event log message info - to be inserted into the 'events' table
    Version:
    $Id: $
    Author:
    Brian Weaver , OpenNMS , Brian Weaver , OpenNMS
    • Constructor Summary

      Constructors 
      Constructor Description
      LogMessage()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String format​(Logmsg msg)
      Format the logmsg entry
      • Methods inherited from class java.lang.Object

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

      • LogMessage

        public LogMessage()
    • Method Detail

      • format

        public static java.lang.String format​(Logmsg msg)
        Format the logmsg entry
        Parameters:
        msg - the logmsg
        Returns:
        the formatted logmsg