github.com/blend/go-sdk@v1.20220411.3/logger/event_context.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package logger
     9  
    10  // EventContext is a wrapping context for events.
    11  // It is used when a sub-context triggers or writes an event.
    12  type EventContext struct {
    13  	Event
    14  	ContextPath []string
    15  }