mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-09-05 08:37:37 -04:00
Add ETW support for out type and tags
This commit is contained in:
@@ -17,6 +17,6 @@ func NewEventData() *EventData {
|
||||
|
||||
// AddString appends the data for a string to the end of the buffer.
|
||||
func (ed *EventData) AddString(data string) {
|
||||
ed.buffer.Write([]byte(data))
|
||||
ed.buffer.WriteString(data)
|
||||
ed.buffer.WriteByte(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user