![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
interact-logger
Advanced tools
Interact logger library created using [ngx-logger](https://github.com/dbfannin/ngx-logger). It uses most of features of ngx-logger and customizes some of feature based on requirement.
Interact logger library created using ngx-logger. It uses most of features of ngx-logger and customizes some of feature based on requirement.
Run ng build logger
to build the project. The build artifacts will be stored in the dist/
directory.
After building your library with ng build logger
, go to the dist folder cd dist/logger
and run npm publish
.
Install interact-logger.
npm i interact-logger
Import InteractLoggerModule
in app.module.ts
.
import { InteractLoggerModule } from 'interact-logger';
@NgModule({
imports: [
...
InteractLoggerModule
],
...
})
Following is the sample code snippet of app.component.ts
which can be added in any domain app or MFE app to use this logger:
import { Component, OnInit } from '@angular/core';
import { NGXLogger, NgxLoggerLevel } from 'interact-logger';
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent implements OnInit {
title = 'shell';
logConfig: any = {
domain: '<MFE_NAME>',
disableFileDetails: true,
level: NgxLoggerLevel.DEBUG,
serverLogLevel: NgxLoggerLevel.DEBUG,
serverLoggingUrl: '<SERVER_LOG_COLLECTOR_URL>',
customHttpHeaders: new HttpHeaders({ Authorization: '<token> }),
timestampFormat: 'full',
colorScheme: ['purple', 'teal', 'gray', 'gray', 'red', 'red', 'red'],
};
constructor(private logger: NGXLogger) {
this.logger.updateConfig(this.logConfig);
}
ngOnInit() {
this.logger.debug('DEBUG LOG: debug log');
this.logger.info('INFO LOG: Normal info logs');
this.logger.log('LOG: Normal info logs');
this.logger.warn('WARNING LOG: Multiple', 'Argument', 'support');
this.logger.error('ERROR LOG: Your log message goes here');
this.logger.fatal('FATAL LOG: **** FATAL LOG ******');
}
}
NOTE: Please refer ngx-logger to get more information on configuration and customization options for this logger.
FAQs
Interact logger library created using [ngx-logger](https://github.com/dbfannin/ngx-logger). It uses most of features of ngx-logger and customizes some of feature based on requirement.
The npm package interact-logger receives a total of 1 weekly downloads. As such, interact-logger popularity was classified as not popular.
We found that interact-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.