Skip to content

Commit

Permalink
remove logger
Browse files Browse the repository at this point in the history
  • Loading branch information
LegitCamper committed Oct 1, 2024
1 parent 0bf3708 commit d2d7453
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/engines/ultralight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ use url::Url;

use super::{BrowserEngine, PixelFormat, Tab, TabInfo, Tabs};

struct UlLogger;
impl Logger for UlLogger {
fn log_message(&mut self, log_level: LogLevel, message: String) {
println!("{:?}: {}", log_level, message);
}
}

pub struct UltalightTabInfo {
surface: Surface,
view: View,
Expand Down Expand Up @@ -59,8 +52,6 @@ impl Ultralight {
let config = Config::start().build().unwrap();
platform::enable_platform_fontloader();
platform::enable_platform_filesystem(".").unwrap();
platform::set_logger(UlLogger);
platform::enable_default_logger("./log.txt").unwrap();

let renderer = Renderer::create(config).unwrap();
let view_config = ViewConfig::start()
Expand Down

0 comments on commit d2d7453

Please sign in to comment.