Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hlbarber committed May 21, 2024
1 parent f75be02 commit 6398d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ impl Builder {
self
}

/// Sets the 'short_message' field's default value. Defaults to "no message".
/// Sets the 'short_message' field's default value. Defaults to "null".
///
/// `Logger` uses the default value for `short_message` when an event does not specify
/// [`Logger`] uses the default value for `short_message` when an event does not specify
/// `message` or `short_message` in its fields.
pub fn default_short_message<V: ToString>(mut self, short_message: V) -> Self {
self.additional_fields
Expand Down

0 comments on commit 6398d6b

Please sign in to comment.