From f7b7dd63fdfd903b7d8a210f691a1a1c945f98d1 Mon Sep 17 00:00:00 2001 From: Andreea Gugiuman Date: Thu, 2 Oct 2025 09:33:45 -0400 Subject: [PATCH] update method to private --- src/D2L.Bmx/MessageWriter.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/D2L.Bmx/MessageWriter.cs b/src/D2L.Bmx/MessageWriter.cs index e9f41ec4..1a8d3907 100644 --- a/src/D2L.Bmx/MessageWriter.cs +++ b/src/D2L.Bmx/MessageWriter.cs @@ -7,7 +7,6 @@ internal interface IMessageWriter { void WriteUpdateMessage( string text ); void WriteWarning( string text ); void WriteError( string text ); - void WriteToFile( string text ); } // We use ANSI escape codes to control colours, because .NET's `Console.ForegroundColor` only targets stdout, @@ -60,7 +59,7 @@ void IMessageWriter.WriteError( string text ) { WriteToFile( $"[ERROR] {text}" ); } - public void WriteToFile( string text ) { + private void WriteToFile( string text ) { try { string? directory = Path.GetDirectoryName( _logFilePath ); if( string.IsNullOrEmpty( directory ) ) {