Systemd.Journal – libsystemd-journal Reference Manual
Journal
Object Hierarchy:
Systemd.Journal
Systemd.Journal
Systemd.Journal
Description:
[
Compact
]
[
CCode
( free_function =
"sd_journal_close"
) ]
public
class
Journal
Namespace:
Systemd
Package:
libsystemd-journal
Content:
Enums:
OpenFlags
Priority
Static methods:
public
static
int
open
(
out
Journal
ret,
OpenFlags
flags)
public
static
int
open_directory
(
out
Journal
ret,
string
path,
OpenFlags
flags)
public
static
int
open_files
(
out
Journal
ret,
string
[] paths,
OpenFlags
flags)
public
static
int
perror
(
string
message)
public
static
int
send
(
string
format, ...)
public
static
int
sendv
(
iovector
[] iov)
Methods:
public
int
add_conjunction
()
public
int
add_disjunction
()
public
int
add_match
(
uint8
[] data)
public
int
enumerate_data
(
out
unowned
uint8
[] data)
public
int
enumerate_unique
(
out
unowned
uint8
[] data)
public
void
flush_matches
()
public
int
get_catalog
(
out
unowned
string
text)
public
int
get_catalog_for_message_id
(
Id128
id,
out
unowned
string
ret)
public
int
get_cursor
(
out
unowned
string
cursor)
public
int
get_cutoff_monotonic_usec
(
Id128
boot_id,
out
uint64
from,
out
uint64
to)
public
int
get_cutoff_realtime_usec
(
out
uint64
from,
out
uint64
to)
public
int
get_data
(
string
field,
out
unowned
uint8
[] data)
public
int
get_data_threshold
(
out
size_t
sz)
public
int
get_events
()
public
int
get_fd
()
public
int
get_monotonic_usec
(
out
uint64
ret,
out
Id128
ret_boot_id)
public
int
get_realtime_usec
(
out
uint64
ret)
public
int
get_timeout
(
out
uint64
timeout_usec)
public
int
get_usage
(
out
uint64
bytes)
public
int
next
()
public
int
next_skip
(
uint64
skip)
public
int
previous
()
public
int
previous_skip
(
uint64
skip)
public
int
process
()
public
int
query_unique
(
string
field)
public
int
reliable_fd
()
public
void
restart_data
()
public
void
restart_unique
()
public
int
seek_cursor
(
string
cursor)
public
int
seek_head
()
public
int
seek_monotonic_usec
(
Id128
boot_id,
uint64
usec)
public
int
seek_realtime_usec
(
uint64
usec)
public
int
seek_tail
()
public
int
set_data_threshold
(
size_t
sz)
public
int
test_cursor
(
string
cursor)
public
int
wait
(
uint64
timeout_usec)
2022 vala-language.org