It’s safe to leave log() statements in production — they don’t run unless a debugger is attached, so they won’t affect performance or expose data to users.
log()