Skip to content

Commit

Permalink
add wired-log
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Apr 24, 2024
1 parent 134b1cd commit 01511bb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions spatial/wit/wired-log/world.wit
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package wired:log;

world host {
import api;
}

interface api {
enum log-level {
debug,
info,
warn,
error
}

log: func(level: log-level, message: string);
}

0 comments on commit 01511bb

Please sign in to comment.