Logging on device

Haven't tried it yet, but just want to get some tips.

How do I log on the actual device?

I use Sys.println() to see output in the console.
Is it safe to assume that this will log to a file on the actual device?