# Functions
HandleFactory implements HandlerFunc which prints log in the provided format.
LogChecker check logs by pattern from existence files with LogLast and use LogWatchWithTimeout with timeout for observe new files.
LogItemFind find LogItem records by reqexps in 'query' corresponded to LogItem structure.
LogItemPrint find LogItem elements by paths in 'query'.
LogLast function process Log files in the 'filepath' directoryaccording to the 'query' reqexps and return last founded item.
LogPrn print Log data.
LogTail returns LogCheckerMode for process only defined count of last messages.
LogWatch monitors the change of Log files in the 'filepath' directoryaccording to the 'query' reqexps and processing using the 'handler' function.
ParseLogEntry unmarshal LogEntry.
# Type aliases
HandlerFunc must process LogItem and return true to exitor false to continue.
LogCheckerMode is InfoExist, InfoNew and InfoAny.
LogFormat the format to print output logs.