Rewrite print
statements using log
.
Apply with the Grit CLI
grit apply print_to_log
Transforms a log statement
BEFORE
print("hello world!") log("this is python")
AFTER
log("hello world!") log("this is python")
Rewrite print
statements using log
.
grit apply print_to_log
print("hello world!") log("this is python")
log("hello world!") log("this is python")