Gah - a solution with more questions. – EntropicLqd

UE2:FileLog (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 13:06, 30 June 2014 by Rejecht (Talk | contribs) (Added Warning)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

LogAr

Type: pointer


LogFileName

Type: string

Modifiers: const


TempFileName

Type: string

Modifiers: const


Native functions

CloseLog

native final function CloseLog ()


Logf

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

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