Skip to content

Commit

Permalink
Make ILogger interface as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Nov 28, 2023
1 parent cec3811 commit 3cf6e48
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dotnet/src/webdriver/Internal/Logging/ILogContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ public interface ILogContext : IDisposable
/// </summary>
/// <typeparam name="T">The type for which to retrieve the logger.</typeparam>
/// <returns>An instance of <see cref="ILogger"/> for the specified type.</returns>
ILogger GetLogger<T>();
internal ILogger GetLogger<T>();

/// <summary>
/// Gets a logger for the specified type.
/// </summary>
/// <param name="type">The type for which to retrieve the logger.</param>
/// <returns>An instance of <see cref="ILogger"/> for the specified type.</returns>
ILogger GetLogger(Type type);
internal ILogger GetLogger(Type type);

/// <summary>
/// Emits a log message using the specified logger, log level, and message.
/// </summary>
/// <param name="logger">The logger to emit the log message.</param>
/// <param name="level">The log level of the message.</param>
/// <param name="message">The log message.</param>
void EmitMessage(ILogger logger, LogEventLevel level, string message);
internal void EmitMessage(ILogger logger, LogEventLevel level, string message);

/// <summary>
/// Sets the minimum log level for the current context.
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Internal/Logging/ILogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace OpenQA.Selenium.Internal.Logging
/// <summary>
/// Defines the interface through which log messages are emitted.
/// </summary>
public interface ILogger
internal interface ILogger
{
/// <summary>
/// Writes a trace-level log message.
Expand Down
1 change: 1 addition & 0 deletions dotnet/src/webdriver/WebDriver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>WebDriver</AssemblyName>
<RootNamespace>OpenQA.Selenium</RootNamespace>
<LangVersion>10.0</LangVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 3cf6e48

Please sign in to comment.