Expand description
The log drivers of the containers, which write the container output to the CRI log files or to journald.
Modulesยง
- cri ๐
- The logger of the CRI log format.
- journald ๐
- The logger which writes the container output to journald.
- line_
buffer ๐ - Collecting the output into whole lines, see
LineBuffer. - log_
file ๐ - Writing a log file on disk, see
LogFile.
Structsยง
- Container
Log ๐ - The log drivers of a container.
- Line ๐
- A whole or partial line without its ending. Partial means that the line
had no ending yet: it continues in the next entry, paused, or the output
ended without one, the same as the
Pmarker of the CRI log.
Enumsยง
- Driver ๐
- A configured log driver.
- Text ๐
- The text of a
Line: borrowed from the chunk which held all of it, or collected across chunks in the buffer of its pipe.
Functionsยง
- lines ๐
- Split a chunk into its lines. Every line but the last ends with a newline, the last one is partial if the chunk does not end with one. An empty chunk has no lines.
- strip_
line_ ๐ending - Strip the line ending, which a terminal turns into โ\r\nโ.
Type Aliasesยง
- Shared
Container ๐Log - A container log shared by its users, like the read loops of the stdio and the log reopening.