@svartalfheimr/log-viewer
v0.0.3
Published
A simple Material UI log viewer.
Downloads
2
Readme
log-viewer
A simple Material UI log viewer.
Usage
import LogViewer from '@svartalfheimr/log-viewer';
const logs = [
{timestamp: Date.parse('04 Dec 1995 00:12:00 GMT'), labels: {pod: 'pod-232-232323', server: 'Frank'}, log: 'This is a log entry'},
...
];
<LogViewer logs={logs} height="100%" />
Installation
Yarn:
yarn add @svartalfheimr/log-viewer
NPM:
npm install @svartalfheimr/log-viewer