I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:FileLog (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
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[edit]

Sprite[edit]

Class: Engine.SpriteComponent

Inherits from: FileWriter.Sprite

No new values.

Instance functions[edit]

CloseLog[edit]

function CloseLog ()

Closes the log file.

OpenLog[edit]

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