Class LogLine
java.lang.Object
com.arpnetworking.metrics.proxy.models.messages.LogLine
Message class to hold data about a log entry that should be sent to clients.
- Author:
- Mohammed Kamel (mkamel at groupon dot com), Vivek Muppala (vivek at groupon dot com)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LogLine
Public constructor.- Parameters:
file
- The name of the log fileline
- The raw log line.
-
-
Method Details
-
getFile
-
getLine
-
convertLineToString
Return the log line as aString
. Callers should cache this value. The data is interpreted as UTF-8 by default.- Returns:
- The line data as a
String
interpreted as UTF-8.
-
convertLineToString
Return the log line as aString
. Callers should cache this value.- Parameters:
charset
- The character set to use.- Returns:
- The line data as a
String
.
-
toString
-