cz.cuni.amis.pogamut.base.utils.logging
Class NetworkLogEnvelope
java.lang.Object
cz.cuni.amis.pogamut.base.utils.logging.NetworkLogEnvelope
- All Implemented Interfaces:
- java.io.Serializable
public class NetworkLogEnvelope
- extends java.lang.Object
- implements java.io.Serializable
Used to send/receive log messages that NetworkLogManager
publishes.
- See Also:
- Serialized Form
Constructor Summary |
NetworkLogEnvelope(java.lang.String cat,
java.util.logging.Level lev,
long mil,
java.lang.String mes)
|
NetworkLogEnvelope(java.lang.String category,
java.lang.String level,
java.lang.String time,
java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NetworkLogEnvelope
public NetworkLogEnvelope(java.lang.String cat,
java.util.logging.Level lev,
long mil,
java.lang.String mes)
NetworkLogEnvelope
public NetworkLogEnvelope(java.lang.String category,
java.lang.String level,
java.lang.String time,
java.lang.String message)
asLogRecord
public java.util.logging.LogRecord asLogRecord()
getCategory
public java.lang.String getCategory()
getLevel
public java.util.logging.Level getLevel()
getMillis
public long getMillis()
getMessage
public java.lang.String getMessage()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object