Browse Source

add package version in logging

master
Schneider 5 years ago
parent
commit
a99df4eda4
  1. 3
      .gitignore
  2. 2
      Cargo.lock
  3. 2
      Cargo.toml
  4. 2
      src/main.rs

3
.gitignore

@ -2,3 +2,6 @@
/dist /dist
/target /target
tags tags
test
test
test

2
Cargo.lock

@ -325,7 +325,7 @@ dependencies = [
[[package]] [[package]]
name = "gitig" name = "gitig"
version = "0.1.2"
version = "0.1.3"
dependencies = [ dependencies = [
"directories", "directories",
"error-chain", "error-chain",

2
Cargo.toml

@ -1,6 +1,6 @@
[package] [package]
name = "gitig" name = "gitig"
version = "0.1.2"
version = "0.1.3"
authors = ["Marcel Schneider <marcel@webschneider.org>"] authors = ["Marcel Schneider <marcel@webschneider.org>"]
edition = "2018" edition = "2018"

2
src/main.rs

@ -75,7 +75,7 @@ fn main() {
.timestamp(opts.boilerplate.timestamp.unwrap_or(stderrlog::Timestamp::Off)) .timestamp(opts.boilerplate.timestamp.unwrap_or(stderrlog::Timestamp::Off))
.init() .init()
.expect("initializing logging output"); .expect("initializing logging output");
trace!("Initialized logging");
trace!("Initialized logging, {} v{}", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"));
trace!("Starting with application"); trace!("Starting with application");
if let Err(ref e) = app::main(opts) { if let Err(ref e) = app::main(opts) {

Loading…
Cancel
Save