diff --git a/dotnet/src/webdriver/Internal/Logging/ILogContext.cs b/dotnet/src/webdriver/Internal/Logging/ILogContext.cs index 55042ebffcf12..93ebac5c23afa 100644 --- a/dotnet/src/webdriver/Internal/Logging/ILogContext.cs +++ b/dotnet/src/webdriver/Internal/Logging/ILogContext.cs @@ -43,14 +43,14 @@ public interface ILogContext : IDisposable /// /// The type for which to retrieve the logger. /// An instance of for the specified type. - ILogger GetLogger(); + internal ILogger GetLogger(); /// /// Gets a logger for the specified type. /// /// The type for which to retrieve the logger. /// An instance of for the specified type. - ILogger GetLogger(Type type); + internal ILogger GetLogger(Type type); /// /// Emits a log message using the specified logger, log level, and message. @@ -58,7 +58,7 @@ public interface ILogContext : IDisposable /// The logger to emit the log message. /// The log level of the message. /// The log message. - void EmitMessage(ILogger logger, LogEventLevel level, string message); + internal void EmitMessage(ILogger logger, LogEventLevel level, string message); /// /// Sets the minimum log level for the current context. diff --git a/dotnet/src/webdriver/Internal/Logging/ILogger.cs b/dotnet/src/webdriver/Internal/Logging/ILogger.cs index 4c5aeb45ec160..66e5af8f240c7 100644 --- a/dotnet/src/webdriver/Internal/Logging/ILogger.cs +++ b/dotnet/src/webdriver/Internal/Logging/ILogger.cs @@ -23,7 +23,7 @@ namespace OpenQA.Selenium.Internal.Logging /// /// Defines the interface through which log messages are emitted. /// - public interface ILogger + internal interface ILogger { /// /// Writes a trace-level log message. diff --git a/dotnet/src/webdriver/WebDriver.csproj b/dotnet/src/webdriver/WebDriver.csproj index 85abd8152ee1d..318621b445b31 100644 --- a/dotnet/src/webdriver/WebDriver.csproj +++ b/dotnet/src/webdriver/WebDriver.csproj @@ -4,6 +4,7 @@ netstandard2.0 WebDriver OpenQA.Selenium + 10.0