Programming Guide/Flutter

[Flutter] Avoid `print` calls in production code. 오률 해결법

발효홍삼 2023. 2. 5. 21:04
728x90

개발을 하다보면 디버깅을 위해 print문을 자주 사용한다.

그런데 Avoid `print` calls in production code. 가 뜨며 사용을 권장하지 않는다.

 

print 대신  debugPrint() 혹은 log() 를 권장한다. 

728x90