This commit is contained in:
Christoph J. Scherr 2023-07-09 20:30:57 +02:00
parent 85e0d5e2a7
commit b16a748b0d
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
2 changed files with 2 additions and 3 deletions

View File

@ -47,7 +47,6 @@ pub fn main() {
// set up our logger to use the given verbosity // set up our logger to use the given verbosity
env_logger::Builder::new() env_logger::Builder::new()
.filter_module("libpt", cli.verbose.log_level_filter()) .filter_module("libpt", cli.verbose.log_level_filter())
.format_target(false)
.init(); .init();
} }
else { else {

View File

@ -47,14 +47,14 @@ macro_rules! print_divider {
//// IMPLEMENTATION //////////////////////////////////////////////////////////////////////////////// //// IMPLEMENTATION ////////////////////////////////////////////////////////////////////////////////
//// PUBLIC FUNCTIONS ////////////////////////////////////////////////////////////////////////////// //// PUBLIC FUNCTIONS //////////////////////////////////////////////////////////////////////////////
/// python interface for [`divider`], can also be used with rust /// python interface for [`divider!`], can also be used with rust
#[pyfunction] #[pyfunction]
pub fn divider() -> String { pub fn divider() -> String {
divider!() divider!()
} }
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
/// python interface for [`print_divider`], can also be used with rust /// python interface for [`print_divider!`], can also be used with rust
#[pyfunction] #[pyfunction]
pub fn print_divider() { pub fn print_divider() {
print_divider!() print_divider!()