log as string