-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #260 from rladstaetter/43-time-range-filter
43 time range filter
- Loading branch information
Showing
47 changed files
with
973 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ logfiles/ | |
.idea/ | ||
**/.flattened-pom.xml | ||
/develop-logging.properties | ||
/target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
package app.logorrr.model | ||
|
||
|
||
import java.time.Instant | ||
import java.time.{Duration, Instant} | ||
|
||
/** | ||
* represents one line in a log file | ||
* | ||
* @param lineNumber line number of this log entry | ||
* @param value contens of line in plaintext | ||
* @param lineNumber line number of this log entry | ||
* @param value contens of line in plaintext | ||
* @param someInstant a timestamp if there is any | ||
* */ | ||
case class LogEntry(lineNumber: Int | ||
, value: String | ||
, someInstant: Option[Instant]) | ||
, someInstant: Option[Instant] | ||
, someDurationSinceFirstInstant: Option[Duration]) { | ||
|
||
/** returns a copy of this log entry without timestamp information */ | ||
def withOutTimestamp(): LogEntry = copy(someInstant = None, someDurationSinceFirstInstant = None) | ||
|
||
} |
46 changes: 0 additions & 46 deletions
46
app/src/main/scala/app/logorrr/model/LogEntryInstantFormat.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.