Mini File Logger (for Swift)