There is no spoon
Difference between revisions of "UE2:FileLog (UT2004)"
(Auto-generated page) |
m (Added Warning) |
||
Line 47: | Line 47: | ||
{{code|native final function '''Logf''' ([[string]] '''LogString''')}} | {{code|native final function '''Logf''' ([[string]] '''LogString''')}} | ||
− | + | 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==== | ====OpenLog==== |
Latest revision as of 13:06, 30 June 2014
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[edit]
LogAr[edit]
Type: pointer
LogFileName[edit]
Type: string
Modifiers: const
TempFileName[edit]
Type: string
Modifiers: const
Native functions[edit]
CloseLog[edit]
Logf[edit]
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.