I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:FileLog (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Actor >> Info >> FileWriter >> FileLog
Package: 
Engine
This class in other games:
U2, UE2Runtime, UT2003, UT2004, UDK

Opens a file on disk for logging purposes. Spawn one, then call OpenLog() with the desired file name, output using Logf(), and then finally call CloseLog(), or destroy the FileLog actor.

This functionality has been moved to the new FileWriter class. Stubs have been left here for compatibility

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Subobjects

Sprite

Class: Engine.SpriteComponent

Inherits from: FileWriter.Sprite

No new values.

Instance functions

CloseLog

function CloseLog ()

Closes the log file.

OpenLog

function OpenLog (coerce string LogFilename, optional string extension, optional bool bUnique)

Opens the actual file using the specified name.

Parameters:

  • LogFilename - name of file to open
  • extension - optional file extension to use, defaults to .txt if none is specified
  • bUnique - Makes sure the file is unique