The judge would decide. If the app was on a secure platform (android/ios, non root/jailbroken), you could argue that the logs are genuine because the platform prevents you from manipulating the logs. The onus would be on the other party to prove that the logs were fabricated. I wouldn't count on it to secure a criminal conviction, but it would suffice in civil cases.