Severity of a log message
Namespace: Dapfor.Net.DiagnosticsAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
Visual Basic |
---|
Public Enumeration Severity |
Visual C++ |
---|
public enum class Severity |
Members
Examples
| Copy |
---|
public enum Way
{
Buy,
Sell,
}
public sealed class Quote
{
private readonly long qty;
private readonly decimal price;
private readonly Way way;
public Quote(long qty, decimal price, Way way)
{
this.qty = qty;
this.price = price;
this.way = way;
}
public long Qty
{
get { return qty; }
}
public decimal Price
{
get { return price; }
}
public Way Way
{
get { return way; }
}
}
Logger.Info("Hey, I just got a new price", new Quote(31911, 41, Way.Buy)); |
See Also