cz.cuni.amis.pogamut.base.utils.logging
Class NetworkLogEnvelope

Package class diagram package NetworkLogEnvelope
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.utils.logging.NetworkLogEnvelope
All Implemented Interfaces:
Serializable

public class NetworkLogEnvelope
extends Object
implements Serializable

Used to send/receive log messages that NetworkLogManager publishes.

Author:
Pyroh, Jimmy
See Also:
Serialized Form

Constructor Summary
NetworkLogEnvelope(String cat, Level lev, long mil, String mes)
           
NetworkLogEnvelope(String category, String level, String time, String message)
           
 
Method Summary
 LogRecord asLogRecord()
           
 String getCategory()
           
 Level getLevel()
           
 String getMessage()
           
 long getMillis()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkLogEnvelope

public NetworkLogEnvelope(String cat,
                          Level lev,
                          long mil,
                          String mes)

NetworkLogEnvelope

public NetworkLogEnvelope(String category,
                          String level,
                          String time,
                          String message)
Method Detail

asLogRecord

public LogRecord asLogRecord()

getCategory

public String getCategory()

getLevel

public Level getLevel()

getMillis

public long getMillis()

getMessage

public String getMessage()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.