Documentation ¶
Index ¶
- Constants
- func WithAdditionalMessage(value string) zap.Field
- func WithClaimKeys(claimKeys []string) zap.Field
- func WithCommand(command string) zap.Field
- func WithConcurrencyRequests(concurrencyRequests int) zap.Field
- func WithCredentialID(credentialID string) zap.Field
- func WithCredentialTemplateID(value string) zap.Field
- func WithDockerComposeCmd(dockerComposeCmd string) zap.Field
- func WithEvent(event interface{}) zap.Field
- func WithIDToken(idToken string) zap.Field
- func WithJSONQuery(jsonQuery string) zap.Field
- func WithJSONResolution(jsonResolution string) zap.Field
- func WithJSONSchema(value string) zap.Field
- func WithJSONSchemaID(value string) zap.Field
- func WithPresDefID(presDefID string) zap.Field
- func WithProfileID(profileID string) zap.Field
- func WithProfileVersion(profileVersion string) zap.Field
- func WithResponses(responses int) zap.Field
- func WithSleep(sleep time.Duration) zap.Field
- func WithTotalRequests(totalRequests int) zap.Field
- func WithTransactionID(transactionID string) zap.Field
- func WithUserLogLevel(logLevel string) zap.Field
- func WithVP(vp string) zap.Field
- func WithVPToken(vpToken string) zap.Field
- func WithWorkers(workers int) zap.Field
- type ObjectMarshaller
Constants ¶
const ( FieldAdditionalMessage = "additionalMessage" FieldCommand = "command" FieldConcurrencyRequests = "concurrencyRequests" FieldDockerComposeCmd = "dockerComposeCmd" FieldEvent = "event" FieldIDToken = "idToken" FieldTransactionID = "transactionId" FieldJSONQuery = "JSONQuery" FieldJSONResolution = "JSONResolution" FieldPresDefID = "presDefID" FieldProfileID = "profileID" FieldProfileVersion = "profileVersion" FieldCredentialID = "credentialID" //nolint:gosec FieldResponses = "responses" FieldSleep = "sleep" FieldTotalRequests = "totalRequests" FieldUserLogLevel = "userLogLevel" FieldVP = "vp" FieldVPToken = "vpToken" FieldWorkers = "workers" FieldClaimKeys = "claimKeys" FieldCredentialTemplateID = "credentialTemplateID" //nolint:gosec FieldJSONSchemaID = "jsonSchemaID" FieldJSONSchema = "jsonSchema" )
Log Fields.
Variables ¶
This section is empty.
Functions ¶
func WithAdditionalMessage ¶
WithAdditionalMessage sets the AdditionalMessage field.
func WithClaimKeys ¶
WithClaimKeys sets the Claim fields.
func WithConcurrencyRequests ¶
WithConcurrencyRequests sets the ConcurrencyRequests field.
func WithCredentialID ¶
WithCredentialID sets the CredentialID field.
func WithCredentialTemplateID ¶ added in v1.3.0
WithCredentialTemplateID sets the credentialTemplateID field.
func WithDockerComposeCmd ¶
WithDockerComposeCmd sets the DockerComposeCmd field.
func WithJSONQuery ¶
WithJSONQuery sets the JSON Query field.
func WithJSONResolution ¶
WithJSONResolution sets the JSONResolution field.
func WithJSONSchema ¶ added in v1.3.0
WithJSONSchema sets the jsonSchema field.
func WithJSONSchemaID ¶ added in v1.3.0
WithJSONSchemaID sets the jsonSchemaID field.
func WithPresDefID ¶
WithPresDefID sets the PresDefID (presentation definition ID) field.
func WithProfileID ¶
WithProfileID sets the ProfileID field.
func WithProfileVersion ¶
WithProfileVersion sets the ProfileVersion field.
func WithResponses ¶
WithResponses sets the Responses field.
func WithTotalRequests ¶
WithTotalRequests sets the TotalRequests field.
func WithTransactionID ¶ added in v1.1.0
WithTransactionID sets the id token field.
func WithUserLogLevel ¶
WithUserLogLevel sets the UserLogLevel field.
Types ¶
type ObjectMarshaller ¶
type ObjectMarshaller struct {
// contains filtered or unexported fields
}
ObjectMarshaller uses reflection to marshal an object's fields.
func NewObjectMarshaller ¶
func NewObjectMarshaller(key string, obj interface{}) *ObjectMarshaller
NewObjectMarshaller returns a new ObjectMarshaller.
func (*ObjectMarshaller) MarshalLogObject ¶
func (m *ObjectMarshaller) MarshalLogObject(e zapcore.ObjectEncoder) error
MarshalLogObject marshals the object's fields.