Method: Systemd::JournalEntry#catalog?

Defined in:
lib/systemd/journal_entry.rb

#catalog?Boolean

Returns true if this Journal Entry has an associated catalog message.

Returns:

  • (Boolean)

    whether or not this entry has an associated catalog message.



90
91
92
# File 'lib/systemd/journal_entry.rb', line 90

def catalog?
  !self[:message_id].nil?
end