Merge pull request #7 from yingwang9091/SeverityLevel
Add severitylevel to NewTraceTelemetry
This commit is contained in:
Коммит
8d138572e5
|
@ -26,7 +26,8 @@ type TraceTelemetry struct {
|
|||
func NewTraceTelemetry(message string, severityLevel SeverityLevel) *TraceTelemetry {
|
||||
now := time.Now()
|
||||
data := &messageData{
|
||||
Message: message,
|
||||
Message: message,
|
||||
SeverityLevel: severityLevel,
|
||||
}
|
||||
|
||||
data.Ver = 2
|
||||
|
|
Загрузка…
Ссылка в новой задаче