Package net.solarnetwork.central.domain
Class LogEventInfo
java.lang.Object
net.solarnetwork.central.domain.LogEventInfo
Standard log event info.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LogEventInfo
Constructor.- Parameters:
tags- the tagsmessage- the messagedata- the data
-
-
Method Details
-
event
public static LogEventInfo event(String[] baseTags, String message, String data, String... extraTags) Create a new event.This method will merge the base and extra tags into the resulting event.
- Parameters:
baseTags- the base tagsmessage- the messagedata- the dataextraTags- optional extra tags- Returns:
- the event
-
toString
-
getTags
Get the tags.- Returns:
- the tags
-
getMessage
Get the message.- Returns:
- the message
-
getData
Get the data.- Returns:
- the data
-