How to clear iOS device log programmatically from Terminal\Java code?

Hi
Can I clear\delete the iOS device log programmatically from Terminal\Java code?

Thanks
Adam