Class TraceEvent
- Namespace
- Microsoft.Azure.WebJobs.Host
- Assembly
- Microsoft.Azure.WebJobs.Host.dll
[Obsolete("Will be removed in an upcoming version. Use Microsoft.Extensions.Logging.ILogger instead.")]
public class TraceEvent
- Inheritance
-
TraceEvent
- Inherited Members
-
Constructors
TraceEvent(TraceLevel, string, string, Exception)
public TraceEvent(TraceLevel level, string message, string source = null, Exception exception = null)
Parameters
level
TraceLevel
message
string
source
string
exception
Exception
Properties
Exception
public Exception Exception { get; set; }
Property Value
- Exception
Level
public TraceLevel Level { get; set; }
Property Value
- TraceLevel
Message
public string Message { get; set; }
Property Value
- string
Properties
public IDictionary<string, object> Properties { get; }
Property Value
- IDictionary<string, object>
Source
public string Source { get; set; }
Property Value
- string
Timestamp
public DateTime Timestamp { get; set; }
Property Value
- DateTime
Methods
ToString()
public override string ToString()
Returns
- string