Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
Inheritance Hierarchy
- FOutputDevice
- FOutputDeviceFile
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/OutputDeviceFile.h |
| Include | #include "Misc/OutputDeviceFile.h" |
Syntax
class FOutputDeviceFile : public FOutputDevice
Remarks
File output device (Note: Only works if ALLOW_LOG_FILE && !NO_LOGGING is true, otherwise Serialize does nothing).
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOutputDeviceFile
(
const TCHAR* InFilename, |
Constructor, initializing member variables.Constructor, initializing member variables. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor to perform teardown |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CreateBackupCopy
(
const TCHAR* Filename |
Creates a backup copy of a log file if it already exists | |
| const TCHAR * | GetFilename () |
Returns the filename associated with this output device | |
| void |
IncludeCategory
(
const FName& InCategoryName |
Add a category name to our inclusion filter. | |
| bool | IsBackupCopy
(
const TCHAR* Filename |
Checks if the filename represents a backup copy of a log file | |
| bool | IsOpened () |
||
| void | Serialize
(
const TCHAR* Data, |
||
| void | Serialize
(
const TCHAR* Data, |
Serializes the passed in data unless the current event is suppressed. | |
| void | SetFilename
(
const TCHAR* InFilename |
Sets the filename that the output device writes to. |
Overridden from FOutputDevice
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | The return value is cached by AddOutputDevice because calling this during a panic may fail. | ||
| void | Flush () |
Flush the write cache so the file isn't truncated in case we crash right after calling this function. | |
| void | TearDown () |
Closes output device and cleans up. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCategoryInclusionInternal |