Class RemotePrinter

  • All Implemented Interfaces:
    Printer

    public class RemotePrinter
    extends java.lang.Object
    implements Printer
    Log Printer which should print the log to remote server.

    This is just a empty implementation telling you that you can do such thing, you can override println(int, String, String) )} and sending the log by your implementation.

    • Constructor Summary

      Constructors 
      Constructor Description
      RemotePrinter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void println​(int logLevel, java.lang.String tag, java.lang.String msg)
      Print log in new line.
      • Methods inherited from class java.lang.Object

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

      • RemotePrinter

        public RemotePrinter()
    • Method Detail

      • println

        public void println​(int logLevel,
                            java.lang.String tag,
                            java.lang.String msg)
        Description copied from interface: Printer
        Print log in new line.
        Specified by:
        println in interface Printer
        Parameters:
        logLevel - the level of log
        tag - the tag of log
        msg - the msg of log