Make default_pattern function pub
default_pattern needs to be used the deserialization code for toml
files. Thats up a module so pub(super) is the best solution.
@@ -23,7 +23,7 @@ use super::error::ConfigError;
pub const DEFAULT_LOGGING_PATTERN: &str = "[{d(%Y-%m-%d %H:%M:%S%.3f)}] T[{T}] {l} [{M}] {m}\n";
-fn default_pattern() -> String {
+pub(super) fn default_pattern() -> String {
String::from(DEFAULT_LOGGING_PATTERN)
}
