Skip to content

Commit 8fc2296

Browse files
committed
Make Level::count method public
1 parent c36ca9c commit 8fc2296

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spdlog/src/level.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ impl Level {
9999
Self::most_verbose() as usize
100100
}
101101

102+
/// Returns the number of logging levels.
102103
#[must_use]
103-
pub(crate) const fn count() -> usize {
104+
pub const fn count() -> usize {
104105
Self::max_usize() + 1
105106
}
106107

0 commit comments

Comments
 (0)