aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debug.moon
blob: ece365f97df5a417d8446bb70a1dcd029d995476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Op from require 'core'

class out extends Op
  @doc: "(out name-str value) - log value to the console"

  setup: (name, @chld) =>
    @name = name\getc!

  update: (dt) =>
    @chld\update dt
    L\print "@name", @chld\get!

{
  :out
}