mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Fix deprecated way of initializing SimpleLogger (#275)
* Use builder pattern instead as suggested
This commit is contained in:
parent
cf7263c294
commit
2f71324c33
1 changed files with 2 additions and 2 deletions
|
@ -16,11 +16,11 @@
|
|||
/// Run with `cargo run --example cli`
|
||||
use std::fs;
|
||||
|
||||
use simple_logger::SimpleLogger;
|
||||
use sqlparser::dialect::*;
|
||||
use sqlparser::parser::Parser;
|
||||
|
||||
fn main() {
|
||||
simple_logger::init().unwrap();
|
||||
SimpleLogger::new().init().unwrap();
|
||||
|
||||
let filename = std::env::args().nth(1).expect(
|
||||
r#"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue