1 // rustfmt-wrap_comments: true
2 // rustfmt-format_doc_comments: true
3 // rustfmt-max_width: 50
9 //! * Inner with lots of text so that it could
10 //! be reformatted something something
11 //! something lots of text so that it could be
12 //! reformatted something something something
14 //! This example shows how to configure fern to
15 //! output really nicely colored logs
16 //! - when the log level is error, the whole line
18 //! - when the log level is warn, the whole line
20 //! - when the log level is info, the level name
21 //! is green and the rest of the line is white
22 //! - when the log level is debug, the whole line
24 //! - when the log level is trace, the whole line
25 //! is gray ("bright black")
27 // This example shows how to configure fern to
28 // output really nicely colored logs
29 // - when the log level is error, the whole line
31 // - when the log level is warn, the whole line
33 // - when the log level is info, the level
34 // name is green and the rest of the line is
36 // - when the log level is debug, the whole line
38 // - when the log level is trace, the whole line
39 // is gray ("bright black")
41 /// All the parameters ***except for
42 /// `from_theater`*** should be inserted as sent
43 /// by the remote theater, i.e., as passed to
44 /// [`Theater::send`] on the remote actor:
45 /// * `from` is the sending (remote) [`ActorId`],
46 /// as reported by the remote theater by
47 /// theater-specific means
48 /// * `to` is the receiving (local) [`ActorId`],
49 /// as requested by the remote theater
50 /// * `tag` is a tag that identifies the message
52 /// * `msg` is the (serialized) message
53 /// All the parameters ***except for
54 /// `from_theater`*** should be inserted as sent
55 /// by the remote theater, i.e., as passed to
56 /// [`Theater::send`] on the remote actor
59 /// All the parameters ***except for
60 /// `from_theater`*** should be inserted as sent
61 /// by the remote theater, i.e., as passed to
62 /// [`Theater::send`] on the remote actor:
63 /// * `from` is the sending (remote) [`ActorId`],
64 /// as reported by the remote theater by
65 /// theater-specific means
66 /// * `to` is the receiving (local) [`ActorId`],
67 /// as requested by the remote theater
68 /// * `tag` is a tag that identifies the message
70 /// * `msg` is the (serialized) message
81 /// * `from` is the sending (remote) [`ActorId`],
82 /// as reported by the remote theater by
83 /// theater-specific means
84 /// * `to` is the receiving (local) [`ActorId`],
85 /// as requested by the remote theater
86 /// * `tag` is a tag that identifies the message
88 /// * `msg` is the (serialized) message