Package com.logviewer.data2
Interface LogFormat
- All Known Implementing Classes:
AbstractPatternLogFormat,Log4jLogFormat,LogbackLogFormat,NginxLogFormat,RegexLogFormat,SimpleLogFormat
public interface LogFormat
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault intgetFieldIndexByName(String fieldName) booleandefault voidloadGlobalConfig(org.springframework.core.env.Environment env) voidvalidate()
-
Method Details
-
createReader
LogReader createReader() -
getFields
LogFormat.FieldDescriptor[] getFields() -
getFieldIndexByName
-
getCharset
-
getLocale
-
hasFullDate
boolean hasFullDate()- Returns:
trueif log entry contains a date.- See Also:
-
validate
- Throws:
IllegalArgumentException
-
getHumanReadableString
String getHumanReadableString() -
loadGlobalConfig
default void loadGlobalConfig(@NonNull org.springframework.core.env.Environment env)
-