FOutputDeviceFile::Flush

Flush the write cache so the file isn't truncated in case we crash right after calling this function.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FOutputDevice::Flush()

FOutputDeviceFile::Flush()

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

virtual void Flush()

Remarks

Flush the write cache so the file isn't truncated in case we crash right after calling this function.