Skip to content

Commit

Permalink
Drop in log impl
Browse files Browse the repository at this point in the history
  • Loading branch information
mxseev committed Feb 16, 2019
1 parent d7dc332 commit 9493249
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "logram"
version = "1.1.1"
version = "1.1.2"
edition = "2018"
authors = ["Max Eliseev <[email protected]>"]
description = "Push logs updates to Telegram"
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ impl TelegramLogger {
}
}
pub fn send(&self, record: &Record) -> Result<(), Error> {
println!("{:?}", record.metadata().target());
let text = TelegramLogger::format_message(record);
let url = format!(
"https://api.telegram.org/bot{}/sendMessage?chat_id={}&text={}&parse_mode=html",
Expand Down

0 comments on commit 9493249

Please sign in to comment.