[This is preliminary documentation and is subject to change.]
Methods and properties related to logging
Inheritance Hierarchy
Microsoft.Research.Naiad.DiagnosticsLogging
Namespace: Microsoft.Research.Naiad.Diagnostics
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public static class Logging
The Logging type exposes the following members.
Methods
Name | Description | |
---|---|---|
Assert(Boolean) |
Logs an Error level message if condition is not true.
| |
Assert(Boolean, String, Object) |
Logs an Error level message if condition is not true.
| |
Debug |
Logs a format string and arguments at Debug level
| |
Error |
Logs a format string and arguments at Error level
| |
Fatal |
Logs a format string and arguments at Fatal level
| |
Info |
Logs a format string and arguments at Info level
| |
InspectBuffer |
Method to enable inspection of buffer contents from the debugger.
When in a breakpoint, invoke this method from the Immediate window
and then look at the buffer by typing "NaiadLog.buf"
| |
Progress |
Logs a format string and arguments at Progress level
| |
Stop |
Stops logging cleanly.
|
Fields
Name | Description | |
---|---|---|
LogStyle |
Intended logging target
|
Properties
Name | Description | |
---|---|---|
LogLevel |
Gets and sets logging level.
|
See Also