FOutputDeviceFile::CreateBackupCopy

Creates a backup copy of a log file if it already exists

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/OutputDeviceFile.h

Include

#include "Misc/OutputDeviceFile.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/OutputDeviceFile.cpp

Syntax

static void CreateBackupCopy
(
    const TCHAR * Filename
)

Remarks

Creates a backup copy of a log file if it already exists

if the passed in file exists, makes a timestamped backup copy

Parameters

Parameter

Description

Filename

the name of the file to check

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss