Skip to content

Electron Logger

GrandLineX ELogger Bundle

Advanced logging support GrandLineX using electron-log

Description

img

GitHub NPM TS

Status

Quality Gate Status Security Rating Maintainability Rating Reliability Rating Coverage

Issues

Bugs Vulnerabilities Code Smells

Documentation

Installation

Install the package.

npm install @grandlinex/bundle-elogger

Register the Logger in existing kernel

import { CoreKernel } from '@grandlinex/core';
import ELogger from '@grandlinex/bundle-elogger';

export default class ExampleKernel extends CoreKernel<any> {
    constructor() {
        super({
            // ... other properties
            logger: (k) => new ELogger(k),
        });

    }
}
Finally register ExampleModule to the kernel.