Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change debug printlns to logs. #240

Merged
merged 1 commit into from Mar 16, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Change debug printlns to logs.

  • Loading branch information
pcwalton committed Mar 16, 2016
commit 5dae750253175dccdc4433dfb8559361136cfddd
@@ -43,6 +43,7 @@ fnv="1.0"
scoped_threadpool = "0.1.6"
app_units = {version = "0.2.1", features = ["plugins"]}
lazy_static = "0.1"
log = "0.3"

[target.x86_64-apple-darwin.dependencies]
core-graphics = ">=0.2, <0.4"
@@ -222,7 +222,7 @@ impl AABBTree {
// include transformed elements, however this isn't currently
// handled by the layout code! If it's not that, this is an
// unexpected condition and should be investigated!
println!("WARNING: insert rect {:?} outside bounds, dropped.", rect);
debug!("WARNING: insert rect {:?} outside bounds, dropped.", rect);
} else {
for node_index in self.work_node_indices.drain(..) {
let NodeIndex(node_index) = node_index;
@@ -6,6 +6,8 @@

#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate log;

mod aabbtree;
mod batch;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.