RedirectToFile
RedirectToFile
#Overview
name: RedirectToFile
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Creates a file inside Project\'s Saved folder and outputs command result into it as well as into the log.\nUsage: RedirectToFile <filepath/filename> <command> [command arguments]\nExample: RedirectToFile Profiling/CSV/objlist.csv obj list -csv -all\nDirectory structure under Project/Saved folder specified by <filepath> will be created for you if it doesn\'t exist.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/HAL/ConsoleManager.cpp:3379
Scope (from outer to inner):
file
function void CreateConsoleVariables
Source code excerpt:
#if !UE_BUILD_SHIPPING
IConsoleManager::Get().RegisterConsoleCommand( TEXT( "DumpConsoleCommands" ), TEXT( "Dumps all console vaiables and commands and all exec that can be discovered to the log/console" ), ECVF_Default );
IConsoleManager::Get().RegisterConsoleCommand( TEXT( "RedirectToFile" ),
TEXT( "Creates a file inside Project's Saved folder and outputs command result into it as well as into the log.\n" )
TEXT( "Usage: RedirectToFile <filepath/filename> <command> [command arguments]\n" )
TEXT( "Example: RedirectToFile Profiling/CSV/objlist.csv obj list -csv -all\n" )
TEXT( "Directory structure under Project/Saved folder specified by <filepath> will be created for you if it doesn't exist." ),
ECVF_Default );
IConsoleManager::Get().RegisterConsoleCommand(TEXT("DumpCVars"),
TEXT("Lists all CVars (or a subset) and their values. Can also show help, and can save to .csv.\nUsage: DumpCVars [Prefix] [-showhelp] [-csv=[path]]\nIf -csv does not have a file specified, it will create a file in the Project Logs directory"),
ECVF_Default);
IConsoleManager::Get().RegisterConsoleCommand(TEXT("DumpCCmds"),
TEXT("Lists all CVars (or a subset) and their values. Can also show help, and can save to .csv.\nUsage: DumpCCmds [Prefix] [-showhelp] [-csv=[path]]\nIf -csv does not have a file specified, it will create a file in the Project Logs directory"),