Encapsulate log::Level so counter macro users don't need to use it

This commit is contained in:
Michael Vines
2019-02-25 19:41:22 -08:00
committed by Grimes
parent 5f5725a4ea
commit 897279eddb
16 changed files with 4 additions and 17 deletions

View File

@ -2,7 +2,7 @@ use crate::bank::{BankError, Result};
use crate::runtime::has_duplicates;
use bincode::serialize;
use hashbrown::{HashMap, HashSet};
use log::{debug, Level};
use log::debug;
use solana_metrics::counter::Counter;
use solana_sdk::account::Account;
use solana_sdk::hash::{hash, Hash};

View File

@ -10,7 +10,7 @@ use crate::runtime::{self, RuntimeError};
use crate::status_cache::StatusCache;
use bincode::serialize;
use hashbrown::HashMap;
use log::{debug, info, warn, Level};
use log::{debug, info, warn};
use solana_metrics::counter::Counter;
use solana_sdk::account::Account;
use solana_sdk::bpf_loader;