[Modify] Polish it

This commit is contained in:
sta 2015-11-05 16:49:37 +09:00
parent 829f3f6eea
commit 7f833eab38

View File

@ -37,16 +37,17 @@ namespace WebSocketSharp
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// <para> /// <para>
/// If you output a log with lower than the <see cref="Logger.Level"/>, /// If you output a log with lower than the value of the <see cref="Logger.Level"/> property,
/// it cannot be outputted. /// it cannot be outputted.
/// </para> /// </para>
/// <para> /// <para>
/// The default output action writes a log to the standard output stream and /// The default output action writes a log to the standard output stream and the log file
/// the <see cref="Logger.File"/> if it has a valid path. /// if the <see cref="Logger.File"/> property has a valid path to it.
/// </para> /// </para>
/// <para> /// <para>
/// If you would like to use the custom output action, you should set the /// If you would like to use the custom output action, you should set
/// <see cref="Logger.Output"/> to any <c>Action&lt;LogData, string&gt;</c> delegate. /// the <see cref="Logger.Output"/> property to any <c>Action&lt;LogData, string&gt;</c>
/// delegate.
/// </para> /// </para>
/// </remarks> /// </remarks>
public class Logger public class Logger
@ -74,8 +75,8 @@ namespace WebSocketSharp
} }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Logger"/> class with the specified /// Initializes a new instance of the <see cref="Logger"/> class with
/// logging <paramref name="level"/>. /// the specified logging <paramref name="level"/>.
/// </summary> /// </summary>
/// <param name="level"> /// <param name="level">
/// One of the <see cref="LogLevel"/> enum values. /// One of the <see cref="LogLevel"/> enum values.
@ -86,9 +87,9 @@ namespace WebSocketSharp
} }
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Logger"/> class with the specified /// Initializes a new instance of the <see cref="Logger"/> class with
/// logging <paramref name="level"/>, path to the log <paramref name="file"/>, and /// the specified logging <paramref name="level"/>, path to the log <paramref name="file"/>,
/// <paramref name="output"/> action. /// and <paramref name="output"/> action.
/// </summary> /// </summary>
/// <param name="level"> /// <param name="level">
/// One of the <see cref="LogLevel"/> enum values. /// One of the <see cref="LogLevel"/> enum values.
@ -97,9 +98,9 @@ namespace WebSocketSharp
/// A <see cref="string"/> that represents the path to the log file. /// A <see cref="string"/> that represents the path to the log file.
/// </param> /// </param>
/// <param name="output"> /// <param name="output">
/// An <c>Action&lt;LogData, string&gt;</c> delegate that references the method(s) /// An <c>Action&lt;LogData, string&gt;</c> delegate that references the method(s) used to
/// used to output a log. A <see cref="string"/> parameter passed to this delegate /// output a log. A <see cref="string"/> parameter passed to this delegate is
/// is <paramref name="file"/>. /// <paramref name="file"/>.
/// </param> /// </param>
public Logger (LogLevel level, string file, Action<LogData, string> output) public Logger (LogLevel level, string file, Action<LogData, string> output)
{ {
@ -162,7 +163,7 @@ namespace WebSocketSharp
/// <para> /// <para>
/// An <c>Action&lt;LogData, string&gt;</c> delegate that references the method(s) used to /// An <c>Action&lt;LogData, string&gt;</c> delegate that references the method(s) used to
/// output a log. A <see cref="string"/> parameter passed to this delegate is the value of /// output a log. A <see cref="string"/> parameter passed to this delegate is the value of
/// the <see cref="Logger.File"/>. /// the <see cref="Logger.File"/> property.
/// </para> /// </para>
/// <para> /// <para>
/// If the value to set is <see langword="null"/>, the current output action is changed to /// If the value to set is <see langword="null"/>, the current output action is changed to