Skip to main content

Crate mtlog_core

Crate mtlog_core 

Source
Expand description

§mtlog-core

Core utilities for mtlog - shared logging infrastructure.

Structs§

LogFile
LogFileSizeRotation
A log file writer that rotates files based on size or line count.
LogFileTimeRotation
A log file writer that rotates files based on time intervals.
LogMessage
LogSender
LogStdout
LoggerGuard
Guard that ensures the logger is properly shut down when dropped. Hold this guard for the lifetime of your logging session.
SizeRotationConfig
Configuration for size-based log file rotation.
TimeRotationConfig
Configuration for time-based log file rotation.

Enums§

FileLogger
A file logger that supports single-file, time-based rotation, or size-based rotation.

Statics§

MTLOG_CONFIG

Traits§

LogWriter

Functions§

spawn_log_thread_file
spawn_log_thread_stdout