UE2:FileLog (UT2004)
- Package:
- Engine
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Class: Engine.FileLog Parent: Engine.Info
Creates a log device. Important notes about this class since version 2225: - the log file is always closed when destroyed - open log files have the extention .tmp and change to .log when closed - old .tmp files will be overwritten - limited freedom in file extentions, allowed extentions: log, txt, html, htm
Properties
LogAr
Type: pointer
LogFileName
Type: string
Modifiers: const
TempFileName
Type: string
Modifiers: const
Native functions
CloseLog
Logf
Writes LogString to the file.
Warning: This function will crash the instance--or possibly corrupt memory enough to cause a crash on exit or garbage collection--if a string is longer than 1024 characters or somewhere above that number. Your script should work around this issue by splitting the LogString up before passing it to this function.
OpenLog