@inax/loggerui

0.2.29 • Public • Published

@inax/loggerui

module for inax loggerUi service

Install

You can install this package with npm.

npm

npm install @inax/loggerui

Documentation

To use the loggerUi, you need to:

  • import the LoggerUiModule in your AppModule
  • import the InaxConsoleService from @inax/loggerui and inject it into your AppComponent
  • add the InaxConsoleComponent to some page in your project. The component tries to fill all of the available space, so you should wrap it in a div-Element if you want it to have a specific size. Please ensure that the available space is big enough to properly display the console, width should be at least 500px and height should be at least 300px. Also, the height should be a fixed value so the container does not scale with its contents, because this causes the whole component to grow in height instead of having a scrollbar appear in it.

Example:

// app.module.ts

@NgModule({
    imports:
    [
        ...,
        LoggerUiModule // <--
    ]
})
export class AppModule { ... }


// app.component.ts
@Component({
    ...
})
export class AppComponent{
    constructor(
        private _consoleService: InaxConsoleService // <--
    ){
        ...
    }
}
<!-- someTemplate.html -->
<div class="inax-console-wrapper"> <!-- add width/height property for the class in your css respectively -->
    <inax-console></inax-console>
</div>

License

Copyright (c) insite-gmbh. All rights reserved.

See License in the project root for license information.

Readme

Keywords

Package Sidebar

Install

npm i @inax/loggerui

Weekly Downloads

1

Version

0.2.29

License

See License in the project root for license information.

Unpacked Size

59.7 kB

Total Files

30

Last publish

Collaborators

  • insite-jan
  • proemmer
  • inax
  • mewgrammer
  • karstengorkow