From c17166c3426ce151975ba1714b6aca030a357248 Mon Sep 17 00:00:00 2001 From: Mark Wilson <23439518+wlsnmrk@users.noreply.github.com> Date: Sat, 8 Feb 2025 16:39:51 -0500 Subject: [PATCH] doc: replace GoDotLog with Log in example code Updated example code in README to use Chickensoft.Log instead of deprecated GoDotLog. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 740efa7..6de76b7 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,12 @@ Add the latest version of GoDotTest to your `*.csproj` file. Make sure to replac The example below shows how unit tests are written. Each test extends the provided `TestClass` and receives the test scene as a constructor argument which is passed to the base class. The test scene can be used by tests to create nodes and add them to the scene tree. ```csharp -using Chickensoft.GoDotLog; using Chickensoft.GoDotTest; +using Chickensoft.Log; using Godot; public class ExampleTest : TestClass { - private readonly ILog _log = new GDLog(nameof(ExampleTest)); + private readonly ILog _log = new Log(nameof(ExampleTest), new TraceWriter()); public ExampleTest(Node testScene) : base(testScene) { }