Documentation of 'org.apache.derby.impl.store.replication.ReplicationLogger' Java class
ReplicationLogger
org.apache.derby.impl.store.replication

Class ReplicationLogger



  • public class ReplicationLogger
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      ReplicationLogger(java.lang.String dbname) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void logError(java.lang.String msgId, java.lang.Throwable t)
      Print error message and the stack trace of the throwable to the log (usually derby.log) provided that verbose is true.
      void logText(java.lang.String text, boolean writeHeader)
      Print a text to the log (usually derby.log), provided that verbose is true.
      • Methods inherited from class java.lang.Object

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

      • ReplicationLogger

        public ReplicationLogger(java.lang.String dbname)
    • Method Detail

      • logError

        public void logError(java.lang.String msgId,
                             java.lang.Throwable t)
        Print error message and the stack trace of the throwable to the log (usually derby.log) provided that verbose is true. If verbose is false, nothing is logged.
        Parameters:
        msgId - The error message id
        t - Error trace starts from this error
      • logText

        public void logText(java.lang.String text,
                            boolean writeHeader)
        Print a text to the log (usually derby.log), provided that verbose is true.
        Parameters:
        text - The text that will be logged
        writeHeader - if true, encapsulates message in "begin error message" and "end error message" lines. If false, timestamps the text and writes it to the log without the header and footer.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.