1.7.54 • Published 2 years ago

@sandwich-go/log-viewer v1.7.54

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Fork of FEMessage/log-viewer.

  • Support soft wrap
  • Support font size setting
  • Built-in example project.

logviewer

log-viewer

Build Status NPM Download NPM Version NPM License PRs Welcome Automated Release Notes by gren

log-viewer is a vue component which can display terminal log in browser with high performance.

new-log

中文文档

Table of Contents

Features

  • Process some special characters in the log stream
  • High performance, and process large amounts of data without jamming
  • Customize loading status
  • Auto scroll to the bottom

⬆ Back to Top

Install

yarn add @sandwich-go/log-viewer

⬆ Back to Top

Usage

<log-viewer :log="log" :loading="isLoading" />

⬆ Back to Top

Links

⬆ Back to Top

Reference

⬆ Back to Top

Performance

Virtual scrolling use the component:https://github.com/tangbc/vue-virtual-scroll-list

Achieve internal use 'item-mode' so that its performance is better than the 'vfor-mode'.

Memory Usage

Use 100,000 lines to test.

item-mode

The Memory before the component mount: 36.5MB The Memory after the component mounted: 48MB Memory Usage: 11.5MB 图片.gif

vfor-mode

The Memory before the component mount: 43MB The Memory after the component mounted: 221MB Memory Usage: 178MB

item-10e4.gif

Render timeline

Also use 100,000 lines to test.

item-mode

Render time: 0.63ms Patch time: 72.18ms Total time: 72.85ms item-1e5.gif

vfor-mode

Render time: 933.05ms Patch time: 23.81ms Total time: 956.86ms v-for-1e5.gif

⬆ Back to Top

Contributing

For those who are interested in contributing to this project, such as:

  • report a bug
  • request new feature
  • fix a bug
  • implement a new feature

Please refer to our contributing guide.

⬆ Back to Top

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

⬆ Back to Top

License

MIT

⬆ Back to Top

1.7.50

2 years ago

1.7.51

2 years ago

1.7.52

2 years ago

1.7.53

2 years ago

1.7.54

2 years ago

1.7.28

2 years ago

1.7.29

2 years ago

1.7.30

2 years ago

1.7.31

2 years ago

1.7.32

2 years ago

1.7.33

2 years ago

1.7.34

2 years ago

1.7.35

2 years ago

1.7.36

2 years ago

1.7.37

2 years ago

1.7.38

2 years ago

1.7.39

2 years ago

1.7.40

2 years ago

1.7.41

2 years ago

1.7.42

2 years ago

1.7.43

2 years ago

1.7.44

2 years ago

1.7.45

2 years ago

1.7.46

2 years ago

1.7.47

2 years ago

1.7.48

2 years ago

1.7.49

2 years ago

1.7.27

2 years ago

1.6.0

2 years ago

1.7.10

2 years ago

1.7.11

2 years ago

1.5.32

2 years ago

1.7.12

2 years ago

1.5.31

2 years ago

1.7.13

2 years ago

1.7.14

2 years ago

1.7.15

2 years ago

1.7.16

2 years ago

1.7.17

2 years ago

1.7.18

2 years ago

1.7.19

2 years ago

1.7.20

2 years ago

1.7.9

2 years ago

1.7.21

2 years ago

1.7.8

2 years ago

1.7.22

2 years ago

1.7.7

2 years ago

1.5.43

2 years ago

1.7.23

2 years ago

1.7.6

2 years ago

1.7.24

2 years ago

1.7.5

2 years ago

1.5.45

2 years ago

1.7.25

2 years ago

1.7.4

2 years ago

1.7.26

2 years ago

1.5.46

2 years ago

1.5.49

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.5.54

2 years ago

1.5.53

2 years ago

1.5.55

2 years ago

1.5.14

2 years ago

1.5.16

2 years ago

1.5.15

2 years ago

1.5.18

2 years ago

1.5.17

2 years ago

1.5.19

2 years ago

1.5.21

2 years ago

1.5.23

2 years ago

1.5.22

2 years ago

1.5.24

2 years ago

1.5.13

2 years ago

1.5.12

2 years ago

1.5.11

2 years ago

1.5.10

2 years ago

1.5.9

2 years ago

1.5.7

2 years ago

1.5.6

2 years ago

1.5.5

2 years ago

1.5.4

2 years ago

1.5.3

2 years ago

1.7.0

2 years ago

1.6.3

2 years ago

1.6.2

2 years ago

1.6.1

2 years ago