implements ios logging