From 1cb5b3079ddff2cd01b2b13d19eca71b59a50531 Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 13 Feb 2015 16:02:26 +0900 Subject: [PATCH] Changed the access level of the Log property to the public --- websocket-sharp/Net/HttpListener.cs | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/websocket-sharp/Net/HttpListener.cs b/websocket-sharp/Net/HttpListener.cs index dc5ef056..aac74acc 100644 --- a/websocket-sharp/Net/HttpListener.cs +++ b/websocket-sharp/Net/HttpListener.cs @@ -120,12 +120,6 @@ namespace WebSocketSharp.Net } } - internal Logger Log { - get { - return _logger; - } - } - internal bool ReuseAddress { get { return _reuseAddress; @@ -275,6 +269,23 @@ namespace WebSocketSharp.Net } } + /// + /// Gets the logging functions. + /// + /// + /// The default logging level is . If you would like to change it, + /// you should set the Log.Level property to any of the enum + /// values. + /// + /// + /// A that provides the logging functions. + /// + public Logger Log { + get { + return _logger; + } + } + /// /// Gets the URI prefixes handled by the listener. ///