Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

lib.rs 485 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  1. #[macro_use]
  2. extern crate log;
  3. #[macro_use] extern crate derive_more;
  4. extern crate quick_xml;
  5. extern crate postgres;
  6. extern crate ntriple;
  7. extern crate zip;
  8. extern crate os_pipe;
  9. extern crate crossbeam_channel;
  10. mod error;
  11. pub mod cleaning;
  12. pub mod tsv;
  13. pub mod db;
  14. pub use error::BDError;
  15. pub use error::Result;
  16. pub use error::err;
  17. /// Initialize logging
  18. pub fn log_init(quiet: bool, level: usize) -> Result<()> {
  19. Ok(stderrlog::new().verbosity(level + 2).quiet(quiet).init()?)
  20. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...