Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri6037 committed Sep 6, 2024
2 parents 58700f8 + b113a75 commit 131b578
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions logger/src/handler/stdout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ use crate::easy_termcolor::{color, EasyTermColor};
use crate::handler::{Flag, Handler};
use crate::util::write_time;
use crate::{Colors, LogMsg};
use bp3d_debug::logger::Level;
use bp3d_debug::util::Location;
use bp3d_os::time::LocalUtcOffset;
use bp3d_util::format::FixedBufStr;
use std::io::IsTerminal;
use std::mem::MaybeUninit;
use bp3d_debug::logger::Level;
use bp3d_debug::util::Location;
use termcolor::{ColorChoice, ColorSpec, StandardStream};
use time::{OffsetDateTime, UtcOffset};

Expand Down
4 changes: 2 additions & 2 deletions logger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ use bp3d_os::dirs::App;
use crossbeam_channel::Receiver;
use std::path::PathBuf;

pub use bp3d_debug::logger::Level;
pub use bp3d_debug::util::Location;
pub use builder::*;
pub use internal::Logger;
pub use level::LevelFilter;
pub use log_msg::LogMsg;
pub use bp3d_debug::logger::Level;
pub use bp3d_debug::util::Location;

/// The log buffer type.
pub type LogBuffer = Receiver<LogMsg>;
Expand Down
4 changes: 2 additions & 2 deletions logger/src/log_msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

use std::fmt::{Error, Write};
use std::mem::MaybeUninit;
use bp3d_debug::logger::Level;
use bp3d_debug::util::Location;
use std::fmt::{Error, Write};
use std::mem::MaybeUninit;
use time::OffsetDateTime;

// Size of the control fields of the log message structure:
Expand Down
4 changes: 2 additions & 2 deletions logger/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ pub fn write_time(msg: &mut impl Write, time: OffsetDateTime) {

#[cfg(test)]
mod tests {
use bp3d_debug::logger::Level;
use bp3d_debug::util::Location;
use crate::util::write_time;
use crate::LogMsg;
use bp3d_debug::logger::Level;
use bp3d_debug::util::Location;
use bp3d_os::time::LocalOffsetDateTime;
use time::OffsetDateTime;

Expand Down

0 comments on commit 131b578

Please sign in to comment.