Permalink
Browse files

Turn on debugging

  • Loading branch information...
1 parent 10821b6 commit 48e667654036748eef087a94035916fa3201c804 @cosimo committed Nov 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Facter.pm
View
@@ -39,7 +39,7 @@ our $LAST_OBJECT;
# Private members
has $!collection is rw;
-has $!debug is rw = 0;
+has $!debug is rw = 1;
has $!timing is rw = 0;
has @!search_path is rw = ();
@@ -74,7 +74,7 @@ method debug($string) {
return
}
if self.debugging() {
- say $string
+ warn $string ~ "\n"
}
return;
}

0 comments on commit 48e6676

Please sign in to comment.