mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-23 02:15:05 +00:00
treewide: make logging format more consistent; make clipboard persistence opt-in
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9092f93c29fcbe99c90483875f4acd0c6a6a6964
This commit is contained in:
parent
9702e67599
commit
da9bf5ea3e
11 changed files with 44 additions and 32 deletions
|
|
@ -29,7 +29,7 @@ impl StoreCommand for SqliteClipboardDb {
|
|||
) -> Result<(), crate::db::StashError> {
|
||||
if let Some("sensitive" | "clear") = state.as_deref() {
|
||||
self.delete_last()?;
|
||||
log::info!("Entry deleted");
|
||||
log::info!("entry deleted");
|
||||
} else {
|
||||
self.store_entry(
|
||||
input,
|
||||
|
|
@ -41,7 +41,7 @@ impl StoreCommand for SqliteClipboardDb {
|
|||
None, // no pre-computed hash for CLI store
|
||||
None, // no mime types for CLI store
|
||||
)?;
|
||||
log::info!("Entry stored");
|
||||
log::info!("entry stored");
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue