You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Builder pattern for constructing a syslog drain that uses RFC 3164 (BSD) style.
513
513
///
514
514
/// All settings have default values. `SyslogBuilder::new().start()` will give you a sensibly configured log drain, but you might especially want to customize the `facility`.
515
515
///
@@ -519,30 +519,47 @@ impl Default for SyslogKind {
519
519
/// * Level: all
520
520
/// * Transport (Unix-like platforms): Unix socket `/dev/log` or `/var/run/log`
521
521
/// * Transport (other platforms): UDP to 127.0.0.1:514
522
+
/// * Message format: [`BasicMsgFormat3164`]
522
523
/// * Process name: the file name portion of [`std::env::current_exe()`]
// This changes the `F` type parameter of this `SyslogBuilder`, so we can't just change the `msg_format` field. We have to make a whole new `SyslogBuilder` with the new `msg_format`.
/// This method wraps the created `Streamer3164` in a `Mutex`. (For an explanation of why, see the `Streamer3164` documentation.) To get a `Streamer3164` without a `Mutex` wrapper, use the `start_single_threaded` method instead.
0 commit comments