Method: Systemd::JournalEntry#realtime_timestamp
- Defined in:
- lib/systemd/journal_entry.rb
#realtime_timestamp ⇒ Time
Returns the wall-clock time that this entry was received by the journal.
29 30 31 32 |
# File 'lib/systemd/journal_entry.rb', line 29 def return nil unless @ctx.key?(:realtime_ts) @realtime_timestamp ||= Time.at(0, @ctx[:realtime_ts]) end |