add some logging for generating codes
This commit is contained in:
parent
a311df931b
commit
e6d8de4dc2
1 changed files with 2 additions and 0 deletions
|
@ -474,7 +474,9 @@ fn main() {
|
||||||
manifest.save(&passkey).expect("Failed to save manifest.");
|
manifest.save(&passkey).expect("Failed to save manifest.");
|
||||||
} else {
|
} else {
|
||||||
let server_time = steamapi::get_server_time();
|
let server_time = steamapi::get_server_time();
|
||||||
|
debug!("Time used to generate codes: {}", server_time);
|
||||||
for account in selected_accounts {
|
for account in selected_accounts {
|
||||||
|
info!("Generating code for {}", account.lock().unwrap().account_name);
|
||||||
trace!("{:?}", account);
|
trace!("{:?}", account);
|
||||||
let code = account.lock().unwrap().generate_code(server_time);
|
let code = account.lock().unwrap().generate_code(server_time);
|
||||||
println!("{}", code);
|
println!("{}", code);
|
||||||
|
|
Loading…
Reference in a new issue