Module: Extism
- Defined in:
- lib/extism.rb,
lib/extism/wasm.rb,
lib/extism/plugin.rb,
lib/extism/version.rb,
lib/extism/manifest.rb,
lib/extism/current_plugin.rb,
lib/extism/host_environment.rb
Defined Under Namespace
Modules: HostEnvironment, ValType Classes: CancelHandle, CurrentPlugin, Error, Function, Manifest, Memory, Plugin, Val
Constant Summary collapse
- VERSION =
'1.0.0'
Class Method Summary collapse
-
.extism_version ⇒ String
Return the version of Extism.
-
.set_log_file(name, level = nil) ⇒ Object
Set log file and level, this is a global configuration.
Class Method Details
.extism_version ⇒ String
Return the version of Extism
18 19 20 |
# File 'lib/extism.rb', line 18 def self.extism_version LibExtism.extism_version end |
.set_log_file(name, level = nil) ⇒ Object
Set log file and level, this is a global configuration
25 26 27 |
# File 'lib/extism.rb', line 25 def self.set_log_file(name, level = nil) LibExtism.extism_log_file(name, level) end |