File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,10 @@ library console {
186186 _sendLogPayload (abi.encodeWithSignature ("log(uint) " , p0));
187187 }
188188
189+ function log (int p0 ) internal pure {
190+ _sendLogPayload (abi.encodeWithSignature ("log(int) " , p0));
191+ }
192+
189193 function log (string memory p0 ) internal pure {
190194 _sendLogPayload (abi.encodeWithSignature ("log(string) " , p0));
191195 }
@@ -218,6 +222,10 @@ library console {
218222 _sendLogPayload (abi.encodeWithSignature ("log(string,uint) " , p0, p1));
219223 }
220224
225+ function log (string memory p0 , int p1 ) internal pure {
226+ _sendLogPayload (abi.encodeWithSignature ("log(string,int) " , p0, p1));
227+ }
228+
221229 function log (string memory p0 , string memory p1 ) internal pure {
222230 _sendLogPayload (abi.encodeWithSignature ("log(string,string) " , p0, p1));
223231 }
You can’t perform that action at this time.
0 commit comments