Changed the access level of the Log property to the public

This commit is contained in:
sta 2015-02-13 16:02:26 +09:00
parent d4e844dfcd
commit 1cb5b3079d

View File

@ -120,12 +120,6 @@ namespace WebSocketSharp.Net
} }
} }
internal Logger Log {
get {
return _logger;
}
}
internal bool ReuseAddress { internal bool ReuseAddress {
get { get {
return _reuseAddress; return _reuseAddress;
@ -275,6 +269,23 @@ namespace WebSocketSharp.Net
} }
} }
/// <summary>
/// Gets the logging functions.
/// </summary>
/// <remarks>
/// The default logging level is <see cref="LogLevel.Error"/>. If you would like to change it,
/// you should set the <c>Log.Level</c> property to any of the <see cref="LogLevel"/> enum
/// values.
/// </remarks>
/// <value>
/// A <see cref="Logger"/> that provides the logging functions.
/// </value>
public Logger Log {
get {
return _logger;
}
}
/// <summary> /// <summary>
/// Gets the URI prefixes handled by the listener. /// Gets the URI prefixes handled by the listener.
/// </summary> /// </summary>