Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lmittmann committed Mar 3, 2024
1 parent 9bd9a18 commit 32452e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions console.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import (

// NewConsole returns a [vm.EVMLogger] that logs calls of console.sol to the
// given testing.TB.
//
// To use console logging in your Solidity contract, import "console.sol".
func NewConsole(tb testing.TB) vm.EVMLogger {
return &consoleTracer{tb: tb}
}
Expand Down

0 comments on commit 32452e6

Please sign in to comment.