@ -68,11 +68,11 @@ namespace WebSocketSharp
/// Initializes a new instance of the <see cref="Logger"/> class.
/// </summary>
/// <remarks>
/// This constructor initializes the current logging level with the <see cref="LogLevel.E RROR "/> and
/// This constructor initializes the current logging level with the <see cref="LogLevel.E rror "/> and
/// initializes the path to the log file with <see langword="null"/>.
/// </remarks>
public Logger ( )
: this ( LogLevel . E RROR , null , null )
: this ( LogLevel . E rror , null , null )
{
}
@ -184,7 +184,7 @@ namespace WebSocketSharp
_output ( data , _file ) ;
}
catch ( Exception ex ) {
data = new LogData ( LogLevel . F ATAL , new StackFrame ( 0 , true ) , ex . Message ) ;
data = new LogData ( LogLevel . F atal , new StackFrame ( 0 , true ) , ex . Message ) ;
Console . WriteLine ( data . ToString ( ) ) ;
}
}
@ -204,10 +204,10 @@ namespace WebSocketSharp
#region Public Methods
/// <summary>
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.D EBUG "/>.
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.D ebug "/>.
/// </summary>
/// <remarks>
/// If the current logging level is greater than the <see cref="LogLevel.D EBUG "/>,
/// If the current logging level is greater than the <see cref="LogLevel.D ebug "/>,
/// this method does not output <paramref name="message"/> as a log.
/// </remarks>
/// <param name="message">
@ -215,14 +215,14 @@ namespace WebSocketSharp
/// </param>
public void Debug ( string message )
{
output ( message , LogLevel . D EBUG ) ;
output ( message , LogLevel . D ebug ) ;
}
/// <summary>
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.E RROR "/>.
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.E rror "/>.
/// </summary>
/// <remarks>
/// If the current logging level is greater than the <see cref="LogLevel.E RROR "/>,
/// If the current logging level is greater than the <see cref="LogLevel.E rror "/>,
/// this method does not output <paramref name="message"/> as a log.
/// </remarks>
/// <param name="message">
@ -230,14 +230,14 @@ namespace WebSocketSharp
/// </param>
public void Error ( string message )
{
output ( message , LogLevel . E RROR ) ;
output ( message , LogLevel . E rror ) ;
}
/// <summary>
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.F ATAL "/>.
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.F atal "/>.
/// </summary>
/// <remarks>
/// If the current logging level is greater than the <see cref="LogLevel.F ATAL "/>,
/// If the current logging level is greater than the <see cref="LogLevel.F atal "/>,
/// this method does not output <paramref name="message"/> as a log.
/// </remarks>
/// <param name="message">
@ -245,14 +245,14 @@ namespace WebSocketSharp
/// </param>
public void Fatal ( string message )
{
output ( message , LogLevel . F ATAL ) ;
output ( message , LogLevel . F atal ) ;
}
/// <summary>
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.I NFO "/>.
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.I nfo "/>.
/// </summary>
/// <remarks>
/// If the current logging level is greater than the <see cref="LogLevel.I NFO "/>,
/// If the current logging level is greater than the <see cref="LogLevel.I nfo "/>,
/// this method does not output <paramref name="message"/> as a log.
/// </remarks>
/// <param name="message">
@ -260,7 +260,7 @@ namespace WebSocketSharp
/// </param>
public void Info ( string message )
{
output ( message , LogLevel . I NFO ) ;
output ( message , LogLevel . I nfo ) ;
}
/// <summary>
@ -285,10 +285,10 @@ namespace WebSocketSharp
}
/// <summary>
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.T RACE "/>.
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.T race "/>.
/// </summary>
/// <remarks>
/// If the current logging level is greater than the <see cref="LogLevel.T RACE "/>,
/// If the current logging level is greater than the <see cref="LogLevel.T race "/>,
/// this method does not output <paramref name="message"/> as a log.
/// </remarks>
/// <param name="message">
@ -296,14 +296,14 @@ namespace WebSocketSharp
/// </param>
public void Trace ( string message )
{
output ( message , LogLevel . T RACE ) ;
output ( message , LogLevel . T race ) ;
}
/// <summary>
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.W ARN "/>.
/// Outputs the specified <see cref="string"/> as a log with the <see cref="LogLevel.W arn "/>.
/// </summary>
/// <remarks>
/// If the current logging level is greater than the <see cref="LogLevel.W ARN "/>,
/// If the current logging level is greater than the <see cref="LogLevel.W arn "/>,
/// this method does not output <paramref name="message"/> as a log.
/// </remarks>
/// <param name="message">
@ -311,7 +311,7 @@ namespace WebSocketSharp
/// </param>
public void Warn ( string message )
{
output ( message , LogLevel . W ARN ) ;
output ( message , LogLevel . W arn ) ;
}
# endregion