UNPKG
@tinybirdco/mockingbird
Version:
latest (2.0.0-rc.0)
2.0.0-rc.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.4
1.1.3
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Mockingbird
github.com/tinybirdco/mockingbird
tinybirdco/mockingbird
@tinybirdco/mockingbird
/
dist
/
client
/
generators
/
LogGenerator.js
10 lines
(9 loc)
•
258 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
BaseGenerator
, baseConfigSchema }
from
"./BaseGenerator"
;
export
class
LogGenerator
extends
BaseGenerator
{
constructor
(
config
) {
super
(baseConfigSchema.
parse
(config)); }
async
sendData
(
rows
) {
console
.
log
(rows); } }