Show / Hide Table of Contents

    Class LogEntry

    Sentry Message interface

    Inheritance
    Object
    LogEntry
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Sentry.Protocol
    Assembly: Sentry.Protocol.dll
    Syntax
    [DataContract]
    public class LogEntry
    Remarks

    This interface enables support to structured logging.

    Examples

    "sentry.interfaces.Message": { "message": "Message for event: {eventId}", "params": [10] }

    Properties

    | Improve this Doc View Source

    Formatted

    The formatted message

    Declaration
    [DataMember(Name = "formatted", EmitDefaultValue = false)]
    public string Formatted { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Message

    The raw message string (uninterpolated)

    Declaration
    [DataMember(Name = "message", EmitDefaultValue = false)]
    public string Message { get; set; }
    Property Value
    Type Description
    String
    Remarks

    Must be no more than 1000 characters in length.

    | Improve this Doc View Source

    Params

    The optional list of formatting parameters

    Declaration
    [DataMember(Name = "params", EmitDefaultValue = false)]
    public IEnumerable<object> Params { get; set; }
    Property Value
    Type Description
    IEnumerable<Object>

    See Also

    https://docs.sentry.io/clientdev/interfaces/message/
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX