@@ -126,25 +126,31 @@ func extismHTTPStatusCode() int32
126
126
func extismHTTPHeaders () extismPointer
127
127
128
128
// extismLogInfo logs an "info" string to the host from the previously-written UTF-8 string written to `offset`.
129
- // Note that the memory at `offset` can be immediately freed because it is immediately logged.
130
129
//
131
130
//go:wasmimport extism:host/env log_info
132
131
func extismLogInfo (offset extismPointer )
133
132
134
133
// extismLogDebug logs a "debug" string to the host from the previously-written UTF-8 string written to `offset`.
135
- // Note that the memory at `offset` can be immediately freed because it is immediately logged.
136
134
//
137
135
//go:wasmimport extism:host/env log_debug
138
136
func extismLogDebug (offset extismPointer )
139
137
140
138
// extismLogWarn logs a "warning" string to the host from the previously-written UTF-8 string written to `offset`.
141
- // Note that the memory at `offset` can be immediately freed because it is immediately logged.
142
139
//
143
140
//go:wasmimport extism:host/env log_warn
144
141
func extismLogWarn (offset extismPointer )
145
142
146
143
// extismLogError logs an "error" string to the host from the previously-written UTF-8 string written to `offset`.
147
- // Note that the memory at `offset` can be immediately freed because it is immediately logged.
148
144
//
149
145
//go:wasmimport extism:host/env log_error
150
146
func extismLogError (offset extismPointer )
147
+
148
+ // extismLogTrace logs an "error" string to the host from the previously-written UTF-8 string written to `offset`.
149
+ //
150
+ //go:wasmimport extism:host/env log_error
151
+ func extismLogTrace (offset extismPointer )
152
+
153
+ // extismGetLogLevel returns the configured log level
154
+ //
155
+ //go:wasmimport extism:host/env get_log_level
156
+ func extismGetLogLevel () int32
0 commit comments