Commit Graph

112 Commits

Author SHA1 Message Date
robert millar
9542633674 Add cvar MessageLog.InfoMessagesAtDisplayVerbosity to let MessageLog emit info messages at Display level.
[CL 31817362 by robert millar in ue5-main branch]
2024-02-26 16:36:45 -05:00
jamie dale
36a289da94 Update the FSeverityToken of a FTokenizedMessage when updating the severity of the message
#rb Rex.Hill
#rnx

#changelist validated
#virtualized

[CL 31218982 by jamie dale in ue5-main branch]
2024-02-06 12:21:40 -05:00
ben hoffman
0a6de35a5b Editor | Add functionality for automatic fixes in tokenized messages
This allows you to attach an automatic fix to any error or warning that may arise from eg. validation.

#jira none
#rb Julien.StJean

#ushell-cherrypick of 31124509 by gabriel.wreczycki

[CL 31126352 by ben hoffman in ue5-main branch]
2024-02-02 10:58:45 -05:00
jamie dale
2fe8b6e0a7 Added a scoped override for FMessageLog behavior
FMessageLogScopedOverride can override the log behavior of a given named FMessageLog for the duration of the overrides lifetime, optionally suppressing output log mirroring, or promoting/demoting log categories (eg, to make errors act as warnings, or warnings act as errors).

Note: Like the internal implementation of FMessageLog (FMessageLogViewModel) FMessageLogScopedOverride is not thread-safe and should only be used from the game thread.

#rb Rex.Hill

[CL 31025714 by jamie dale in ue5-main branch]
2024-01-30 18:02:35 -05:00
steve robb
66266c6a11 Fixed up DerivedDataCache, DesktopPlatform, ApplicationCore, AssetRegistry, Core, CoreUObject, Projects, Sockets code to use EAllowShrinking instead of bools.
[CL 30676428 by steve robb in ue5-main branch]
2024-01-17 19:51:06 -05:00
marc audy
19e84555b3 Silence PVS warnings
[CL 30653812 by marc audy in ue5-main branch]
2024-01-17 01:34:02 -05:00
ben woodhouse
a09ee7cad1 Don't record logging CSV stats if we're crashing, otherwise we'll fail in CreateTls
#rb mickael.gilabert,tom.holmes
#tests tested in a cooked build, preflighted to check it compiles for all plats

[CL 29791061 by ben woodhouse in ue5-main branch]
2023-11-16 16:38:22 -05:00
sebastian schoner
123032fa5b Use structured logging for OutOfMemory messages
Structured logging allows to surface information contained in log lines more easily for automated processes. Out of memory errors are a common thing we'd like to detect and the current detection code has already been broken once.

This CL also contains a change to the structured log for fatal errors. Those were erroneously noted as assertion failures due to an unintended call to Debug::AssertFailed originating via copy-paste from FMsg::LogfImpl. Removing this call ensures that the new log matches the old behavior from unstructured logging (which I have manually verified).

#rb devin.doucette

[CL 29591079 by sebastian schoner in ue5-main branch]
2023-11-09 04:14:59 -05:00
robert millar
8efb6449bd Add helpers to quickly add text to tokenized messages
#rb none

[CL 28480257 by robert millar in ue5-main branch]
2023-10-04 18:34:44 -04:00
steve robb
a84e22104b Replaced GET_VARARGS* macros with GET_TYPED_VARARGS*.
#rb james.hopkin
#jira UE-194628

[CL 28346416 by steve robb in ue5-main branch]
2023-09-29 13:00:07 -04:00
johan berg
db67a7e9ca Allow traced log messages to be longer than 1500 characters.
Adds a variant of the formatting function that allows for overflowing the stack allocated buffer when needed.

#rb ionut.matasaru
#jira UE-133474

[CL 27990697 by johan berg in ue5-main branch]
2023-09-19 06:47:03 -04:00
josh adams
aeb5cb1347 - Restoring a backout after fixing the issue that causes the backout
[Backout] - CL27745134
[FYI] stan.hormell
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27923017 by josh adams in ue5-main branch]
2023-09-15 13:39:02 -04:00
stan hormell
37bad2d07b [Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27745141 by stan hormell in ue5-main branch]
2023-09-10 22:58:21 -04:00
josh adams
a8a9a0b759 - Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27731364 by josh adams in ue5-main branch]
2023-09-08 17:58:55 -04:00
neil henning
87ba132d21 [autortfm] Use UE_LOG with a new LogAutoRTFM category for all our logging.
#preflight 645bb3818f4d53ff229fb9f4

[CL 25423338 by neil henning in ue5-main branch]
2023-05-11 05:22:24 -04:00
anton dunchev
ce29479022 [V2] Scope messaging and stats overhead so it doesn't pollute real LLM tags.
#rnx
[REVIEW] [at]ben.woodhouse
[FYI] [at]andrew.ladenberger
#test BR match with MemInsights capture

[CL 25282052 by anton dunchev in ue5-main branch]
2023-05-01 02:03:40 -04:00
alex kahn
3e40770735 [Backout] - CL25240077 - CIS Editor Error
[FYI] anton.dunchev
Original CL Desc
-----------------------------------------------------------------
Scope messaging and stats overhead so it doesn't pollute real LLM tags.

#rnx
[REVIEW] [at]ben.woodhouse
[FYI] [at]andrew.ladenberger
#test BR match with MemInsights capture

[CL 25282050 by alex kahn in ue5-main branch]
2023-05-01 02:03:26 -04:00
anton dunchev
ef889f9766 Scope messaging and stats overhead so it doesn't pollute real LLM tags.
#rnx
[REVIEW] [at]ben.woodhouse
[FYI] [at]andrew.ladenberger
#test BR match with MemInsights capture

[CL 25282043 by anton dunchev in ue5-main branch]
2023-05-01 02:03:08 -04:00
camillo lukesch
d9e416b215 Change deprecated FCoreDelegates::OnConfigSectionsChanged to FCoreDelegates::TSOnConfigSectionsChanged() after merge
[REVIEW] [at]Chris.Varnsverry
#rb Rob.Cannaday
#preflight 644a62ef864f15ebf5cb7aa2

[CL 25214026 by camillo lukesch in ue5-main branch]
2023-04-27 10:07:09 -04:00
camillo lukesch
dedb187630 Remove module references from UOnlineHotfixManager::HotfixIniFile
[REVIEW] [at]Rob.Cannaday [at]Bertrand.Carre [at]Chris.Varnsverry
#preflight 6448eefa09453df54835e677

[CL 25214010 by camillo lukesch in ue5-main branch]
2023-04-27 10:06:06 -04:00
devin doucette
1686c28597 Logging: Added a public API for structured log formatting
#rb Zousar.Shaker

[CL 25139634 by devin doucette in ue5-main branch]
2023-04-20 19:06:24 -04:00
jonathan bard
06f16e8132 Added CanExecute functor to FActionToken
#rb sebastian.arleryd
#preflight 6436c2b5b67b6017ea5cf41c

[CL 25018335 by jonathan bard in ue5-main branch]
2023-04-12 19:05:33 -04:00
zahra nikbakht
680c959a65 Allow source link detection in MessageLog text when the source address is located at the right of the message (previously it would only work when the source address was on the left of the message)
#jira UE-172487
#preflight 6425a86bc463fac9c8ffa4f2
#rb Jerome.Delattre

[CL 24859391 by zahra nikbakht in ue5-main branch]
2023-03-30 16:07:32 -04:00
devin doucette
5354dcf193 Logging: Fixed a new compile warning in structured logging
#rb none
#rnx

[CL 24851220 by devin doucette in ue5-main branch]
2023-03-30 02:26:09 -04:00
devin doucette
7a4647945b Logging: Check NO_LOGGING consistently for structured logging
#rb Zousar.Shaker
#rnx

[CL 24849377 by devin doucette in ue5-main branch]
2023-03-29 21:24:50 -04:00