Browse Source

add package version in logging

master
Schneider 4 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
/target
tags
test
test
test

2
Cargo.lock

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

2
Cargo.toml

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

2
src/main.rs

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

Loading…
Cancel
Save