UNPKG
@elastic/makelogs
Version:
latest (6.1.1)
6.1.1
6.1.0
6.0.0
5.0.1
5.0.0
4.5.0
4.4.0
Simple log generator for testing kibana
github.com/elastic/makelogs
elastic/makelogs
@elastic/makelogs
/
samples
/
round_all_gets.js
10 lines
(8 loc)
•
174 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
module
.
exports
=
function
(
stoch
) {
var
origGet = stoch.
get
; stoch.
get
=
function
(
) {
return
Math
.
round
(origGet.
call
(stoch)); };
return
stoch; };