Gah - a solution with more questions. – EntropicLqd

UE2:FileLog (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> FileLog
Package: 
Engine
This class in other games:
U2, UE2Runtime, UT2003, UT3, UDK

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]

native final function CloseLog ()


Logf[edit]

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[edit]

native final function OpenLog (string FName, optional string FExt, optional bool bOverwrite)