-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Stream logs using journalctl. -- -- Stream logs using journalctl. Check the documentation for more -- details. @package journalctl-stream @version 0.2.0.0 -- | Streaming interface to journalctl. Use entryStream to stream -- journalctl entries as they are created. -- -- Designed with qualified import in mind. For example, if you import it -- as Journal, then Entry becomes Journal.Entry, -- and Exception becomes Journal.Exception. module Systemd.Journalctl.Stream -- | A journal entry. data Entry Entry :: ProcessID -> Text -> Maybe Text -> Text -> FilePath -> Cursor -> POSIXTime -> Maybe Text -> Text -> Entry -- | Process ID. [entryPID] :: Entry -> ProcessID -- | The name of the originating host. [entryHostname] :: Entry -> Text -- | Namespace identifier. [entryNamespace] :: Entry -> Maybe Text -- | Process name. [entryProcess] :: Entry -> Text -- | File path to the executable. [entryExecutable] :: Entry -> FilePath -- | The cursor for the entry. [entryCursor] :: Entry -> Cursor -- | The time the entry was received by the journal. [entryTimestamp] :: Entry -> POSIXTime -- | Unit name, if present. [entryUnit] :: Entry -> Maybe Text -- | Entry message. [entryMessage] :: Entry -> Text -- | A cursor is an opaque text string that uniquely describes the position -- of an entry in the journal and is portable across machines, platforms -- and journal files. data Cursor -- | Stream of journal entries. entryStream :: (MonadResource m, MonadThrow m) => Maybe String -> Int -> ConduitT i Entry m () -- | Exception raised while streaming entries from journalctl. data Exception instance GHC.Show.Show Systemd.Journalctl.Stream.Cursor instance GHC.Classes.Eq Systemd.Journalctl.Stream.Cursor instance GHC.Show.Show Systemd.Journalctl.Stream.Entry instance GHC.Show.Show a => GHC.Show.Show (Systemd.Journalctl.Stream.AsText a) instance GHC.Show.Show Systemd.Journalctl.Stream.Exception instance GHC.Exception.Type.Exception Systemd.Journalctl.Stream.Exception instance Data.Aeson.Types.FromJSON.FromJSON a => Data.Aeson.Types.FromJSON.FromJSON (Systemd.Journalctl.Stream.AsText a) instance Data.Aeson.Types.FromJSON.FromJSON Systemd.Journalctl.Stream.Entry instance Data.Aeson.Types.FromJSON.FromJSON Systemd.Journalctl.Stream.Cursor