Logger Constructor (LogLevel, String, ActionLogData, String) |
Initializes a new instance of the
Logger class with
the specified logging
level, path to the log
file,
and
output action.
Namespace:
Sfs2X.WebSocketSharp
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public Logger(
LogLevel level,
string file,
Action<LogData, string> output
)
Parameters
- level
- Type: Sfs2X.WebSocketSharpLogLevel
One of the LogLevel enum values.
- file
- Type: SystemString
A String that represents the path to the log file.
- output
- Type: SystemActionLogData, String
An Action<LogData, string> delegate that references the method(s) used to
output a log. A String parameter passed to this delegate is
file.
See Also