File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ impl middleware::Handler for ReadHandler {
89
89
/// Return the current status JSON.
90
90
fn handle ( & self , req : & mut Request ) -> IronResult < Response > {
91
91
92
- println ! ( "{} /{} from {}" , req. method, req. url. path[ 0 ] , req. remote_addr) ;
92
+ info ! ( "{} /{} from {}" , req. method, req. url. path[ 0 ] , req. remote_addr) ;
93
93
94
94
// Get response body
95
95
let body = self . build_response_json ( ) . to_string ( ) ;
@@ -175,8 +175,8 @@ impl middleware::Handler for UpdateHandler {
175
175
/// Update the sensor, return correct status code.
176
176
fn handle ( & self , req : & mut Request ) -> IronResult < Response > {
177
177
178
- // TODO: create macro for these println ! invocations.
179
- println ! ( "{} /{} from {}" , req. method, req. url. path[ 0 ] , req. remote_addr) ;
178
+ // TODO: create macro for these info ! invocations.
179
+ info ! ( "{} /{} from {}" , req. method, req. url. path[ 0 ] , req. remote_addr) ;
180
180
181
181
// Get sensor name
182
182
let sensor_name;
You can’t perform that action at this time.
0 commit comments