Adds Logging level control to UICatalog (#3938)

* Tons of API doc updates

* Added logging control to UICatalog

* Added logging control to UICatalog - more

* fixed minor issues

* removed logs from .gitignore

* Fixed log file path

* Fixed app desc
This commit is contained in:
Tig
2025-02-28 15:06:01 -07:00
committed by GitHub
parent c88c772462
commit 79cd4e92b7
20 changed files with 396 additions and 194 deletions

View File

@@ -6188,7 +6188,7 @@ ek")]
};
Size tfSize = tf.FormatAndGetSize ();
Assert.Equal (new (58, 13), tfSize);
Assert.Equal (new (59, 13), tfSize);
((FakeDriver)Application.Driver).SetBufferSize (tfSize.Width, tfSize.Height);
@@ -6196,19 +6196,19 @@ ek")]
tf.Draw (Application.Screen, Attribute.Default, Attribute.Default);
var expectedText = """
******UI Catalog: A comprehensive sample library for******
**********************************************************
_______ _ _ _____ _
|__ __| (_) | | / ____| (_)
| | ___ _ __ _ __ ___ _ _ __ __ _| || | __ _ _ _
| |/ _ \ '__| '_ ` _ \| | '_ \ / _` | || | |_ | | | | |
| | __/ | | | | | | | | | | | (_| | || |__| | |_| | |
|_|\___|_| |_| |_| |_|_|_| |_|\__,_|_(_)_____|\__,_|_|
**********************************************************
**********************v2 - Pre-Alpha**********************
**********************************************************
**********https://github.com/gui-cs/Terminal.Gui**********
**********************************************************
UI Catalog: A comprehensive sample library and test app for
***********************************************************
_______ _ _ _____ _ *
|__ __| (_) | | / ____| (_)*
| | ___ _ __ _ __ ___ _ _ __ __ _| || | __ _ _ _ *
| |/ _ \ '__| '_ ` _ \| | '_ \ / _` | || | |_ | | | | |*
| | __/ | | | | | | | | | | | (_| | || |__| | |_| | |*
|_|\___|_| |_| |_| |_|_|_| |_|\__,_|_(_)_____|\__,_|_|*
***********************************************************
**********************v2 - Pre-Alpha***********************
***********************************************************
**********https://github.com/gui-cs/Terminal.Gui***********
***********************************************************
""";
TestHelpers.AssertDriverContentsAre (expectedText.ReplaceLineEndings (), _output);