LOGGINGModern Pascal provides a unit that implements a self-buffering log file. Allowing your application to operate at full speed, while the log itself writes to disk; based upon buffer size threshold or the age of the data in memory. You are responsible for the format of the data. This also means for adding any timestamp reference, etc.
.Init() .GetLogFilename:String .SetLogFilename(V:String) .Writeln(Const S:String) .Flush .Free()