Modified LogLevel enum values to PascalCase values

This commit is contained in:
sta
2014-03-02 22:15:41 +09:00
parent fc548650c2
commit bb8d4c25ba
10 changed files with 42 additions and 42 deletions

View File

@@ -468,15 +468,15 @@ The `WebSocket` class includes the own logging function.
You can access it with the `WebSocket.Log` property (returns a `WebSocketSharp.Logger`).
So if you would like to change the current logging level (`WebSocketSharp.LogLevel.ERROR` as the default), you should set the `WebSocket.Log.Level` property to any of the `LogLevel` enum values.
So if you would like to change the current logging level (`WebSocketSharp.LogLevel.Error` as the default), you should set the `WebSocket.Log.Level` property to any of the `LogLevel` enum values.
```cs
ws.Log.Level = LogLevel.DEBUG;
ws.Log.Level = LogLevel.Debug;
```
This means a log with less than `LogLevel.DEBUG` cannot be outputted.
This means a log with less than `LogLevel.Debug` cannot be outputted.
And if you would like to output a log, you should use any of the output methods. The following outputs a log with `LogLevel.DEBUG`.
And if you would like to output a log, you should use any of the output methods. The following outputs a log with `LogLevel.Debug`.
```cs
ws.Log.Debug ("This is a debug message.");