polymorphic logging to text file, appending new values line by line. logs to disk, auto-creating filename if not given