Modified the log() method to log messages that are longer than logcat's ...

...limitation of around 4000 characters