Updated file logger to expose stack trace string building method.