Module: Systemd::Journal::Writable

Included in:
Systemd::Journal
Defined in:
lib/systemd/journal/writable.rb

Overview

This module provides write access to the systemd Journal, compatible with the systemd-journal.gem by Daniel Mack (github.com/zonque/systemd-journal.gem).

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

LOG_EMERG =

system is unusable

0
LOG_ALERT =

action must be taken immediately

1
LOG_CRIT =

critical conditions

2
LOG_ERR =

error conditions

3
LOG_WARNING =

warning conditions

4
LOG_NOTICE =

normal but significant condition

5
LOG_INFO =

informational

6
LOG_DEBUG =

debug-level messages

7

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



28
29
30
# File 'lib/systemd/journal/writable.rb', line 28

def self.included(base)
  base.extend(ClassMethods)
end