mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Tree-sitter: Respect verbosity defined in CODEQL_VERBOSITY
This commit is contained in:
@@ -20,12 +20,7 @@ pub struct Options {
|
||||
}
|
||||
|
||||
pub fn run(options: Options) -> std::io::Result<()> {
|
||||
tracing_subscriber::fmt()
|
||||
.with_target(false)
|
||||
.without_time()
|
||||
.with_level(true)
|
||||
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
|
||||
.init();
|
||||
codeql_extractor::extractor::set_tracing_level("ql");
|
||||
|
||||
let extractor = simple::Extractor {
|
||||
prefix: "ql".to_string(),
|
||||
|
||||
@@ -15,12 +15,7 @@ pub struct Options {
|
||||
}
|
||||
|
||||
pub fn run(options: Options) -> std::io::Result<()> {
|
||||
tracing_subscriber::fmt()
|
||||
.with_target(false)
|
||||
.without_time()
|
||||
.with_level(true)
|
||||
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
|
||||
.init();
|
||||
codeql_extractor::extractor::set_tracing_level("ql");
|
||||
|
||||
let languages = vec![
|
||||
Language {
|
||||
|
||||
Reference in New Issue
Block a user