Docs.rs
obsidian-logging-1.2.1
obsidian-logging 1.2.1
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
ljantzen
Dependencies
chrono ^0.4.42
normal
clap ^4.5.49
normal
dirs ^5.0.1
normal
lazy_static ^1.4
normal
regex ^1.12.2
normal
serde ^1.0.228
normal
serde_yaml ^0.9.29
normal
assert_cmd ^2.0.17
dev
serial_test ^3.2.0
dev
tempfile ^3.23.0
dev
walkdir ^2.5.0
dev
Versions
12.24%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module utils
obsidian_
logging
1.2.1
Module utils
Module Items
Functions
In crate obsidian_
logging
obsidian_logging
Module
utils
Copy item path
Source
Functions
ยง
extract_
log_
entries
Extract log entries from the log section Returns ( content before log section, content after log section, list of log entries, and detected list type) Section heading retrieved from yaml config
format_
time
Format time according to the specified format (12 or 24 hour)
get_
log_
path_
for_
date
Build file path for given date and format string from configuration yaml Supported tokens: {year}, {month}, {date}
parse_
time
Parse time string in either 12 or 24 hour format