There is some confusion when to use print
and debugPrint
, so there are some statements which may be false, and which should be clearified:
When using the direct
print
method then it will bring a lot of a trash into production, will not it?When using the
debugPrint
method then it will print only while developing, or it will print also in production?When I generate a release file (apk), will not it delete all the
print
calls to optimize the app and reduce the release file size?