Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redo logging & formatting (again) #25

Merged
merged 8 commits into from
Feb 6, 2024
Merged

Redo logging & formatting (again) #25

merged 8 commits into from
Feb 6, 2024

Conversation

Mooshua
Copy link
Contributor

@Mooshua Mooshua commented Feb 6, 2024

  • Redo SimpleView semantics to be more in line with how they're actually used (use collection-constructor pattern rather than delegate pattern)
  • Fragment LogManager into ILogService, IPlayerTag, and rich variants in Jailbreak.Formatting
  • Add barebones english translations for logging (will need to go over again)

* Use collection constructor syntax instead for simpleviews (much cleaner!)
* Work on beginning of new logging thing.
* Remove most stuff from LogManager, into their own classes & services
* Add PlayerTagHelper as an experimental service to avoid dependency loop shenanigans in main classes
* Add LogMessages as an english translation
* Add ToServerConsole IView extension
…ng logging

* Fully add rich logging service
* Redo Simpleview to use a specific "Newline" struct for explicit newlines
Mooshua and others added 5 commits February 5, 2024 17:23
# Conflicts:
#	lang/Jailbreak.English/Generic/GenericCommandNotifications.cs
#	lang/Jailbreak.English/Rebel/RebelNotifications.cs
#	lang/Jailbreak.English/Teams/RatioNotifications.cs
#	lang/Jailbreak.English/Warden/WardenNotifications.cs
#	mod/Jailbreak.Logs/LogsListeners.cs
#	mod/Jailbreak.Logs/LogsManager.cs
#	mod/Jailbreak.Logs/LogsServiceExtension.cs
#	mod/Jailbreak.Rebel/RebelManager.cs
#	mod/Jailbreak.Teams/Ratio/RatioBehavior.cs
#	mod/Jailbreak.Warden/Global/WardenBehavior.cs
#	public/Jailbreak.Formatting/Base/SimpleView.cs
#	public/Jailbreak.Formatting/Extensions/ViewExtensions.cs
#	public/Jailbreak.Formatting/Logistics/LanguageConfig.cs
#	public/Jailbreak.Public/Extensions/ServerExtensions.cs
#	src/Jailbreak/JailbreakServiceCollection.cs
* TODO: IO listener will only listen for when the breakable does something when it breaks... We need a better way to listen for eg. CTs pursuing vents.
@Mooshua Mooshua merged commit a05d743 into dev Feb 6, 2024
4 checks passed
@Mooshua Mooshua deleted the feat/logging branch February 8, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant