Format

class uetools.commands.fmt.Arguments[source]

Arguments(profile: str = None, file: str = None, fail_on_error: bool = False, col: int = 24)

profile: str = None
file: str = None
fail_on_error: bool = False
col: int = 24
class uetools.commands.fmt.Format[source]

Format UnrealEngine log output. It will attempt to align log output to make them more readable.

profile

Formatting profile to use (None, cooking, tests)

Type:

str

file

File to format, if none it will use stdin

Type:

str

fail_on_error

the program will exit with an error code if errors were found

col

The size of the category column

Type:

int

Examples

uecli fmt --profile cooking --file RTSGame.log

../UnrealEditor ... | uecli fmt
[  0][L][LogWindows           ] Failed to load 'aqProf.dll' (GetLastError=126)
[  0][L][LogWindows           ] File 'aqProf.dll' does not exist
[  0][L][LogProfilingDebugging] Loading WinPixEventRuntime.dll for PIX profiling (from ../../../Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64).
[  0][D][LogConfig            ]  Loading HoloLens ini files took 0.02 seconds
[  0][D][LogConfig            ]  Loading Android ini files took 0.02 seconds
[  0][D][LogConfig            ]  Loading Unix ini files took 0.03 seconds
[  0][D][LogConfig            ]  Loading Windows ini files took 0.03 seconds
[  0][D][LogConfig            ]  Loading TVOS ini files took 0.03 seconds
[  0][D][LogConfig            ]  Loading Linux ini files took 0.03 seconds
[  0][D][LogConfig            ]  Loading LinuxArm64 ini files took 0.03 seconds
[  0][L][LogPluginManager     ] Mounting Engine plugin FastBuildController
name: str = 'format'
static arguments(subparsers)[source]

Define the arguments of this command

static execute(args)[source]

Execute the command

uetools.commands.fmt.COMMANDS

alias of Format