system.debuglog in sandbox

Does anyone know whether it is permissible to write system.debuglog lines to the console when the app is sandboxed?

Dave

It works just like a non-sandboxed application.

Thanks, Sam.