How to use @fullstack-one/logger - 10 common examples

To help you get started, we’ve selected a few @fullstack-one/logger examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fullstack-build / fullstack-one / packages / migration / dist / index.js View on Github external
// run boot sql script every time - independent, no transaction
            const bootSqlStatements = this.getBootSql();
            for (const sql of Object.values(bootSqlStatements)) {
                this.logger.trace('migration.boot.sql.statement', sql);
                yield dbClient.query(sql);
            }
        });
    }
};
Migration = __decorate([
    di_1.Service(),
    __param(0, di_1.Inject(type => config_1.Config)),
    __param(1, di_1.Inject(type => logger_1.LoggerFactory)),
    __param(2, di_1.Inject(type => db_1.DbAppClient)),
    __metadata("design:paramtypes", [config_1.Config,
        logger_1.LoggerFactory,
        db_1.DbAppClient])
], Migration);
exports.Migration = Migration;
github fullstack-build / fullstack-one / packages / graceful-shutdown / dist / index.js View on Github external
    __param(1, di_1.Inject((type) => logger_1.LoggerFactory)),
    __param(2, di_1.Inject((type) => boot_loader_1.BootLoader)),
github fullstack-build / fullstack-one / packages / graphql-parser / dist / index.js View on Github external
    __param(0, di_1.Inject(type => logger_1.LoggerFactory)),
    __param(1, di_1.Inject(type => config_1.Config)),
github fullstack-build / fullstack-one / packages / file-storage / dist / index.js View on Github external
else {
            throw new Error(`A verifier for type '${type}' already exists.`);
        }
    }
};
FileStorage = __decorate([
    di_1.Service(),
    __param(0, di_1.Inject((type) => logger_1.LoggerFactory)),
    __param(1, di_1.Inject((type) => db_1.DbGeneralPool)),
    __param(2, di_1.Inject((type) => server_1.Server)),
    __param(3, di_1.Inject((type) => boot_loader_1.BootLoader)),
    __param(4, di_1.Inject((type) => config_1.Config)),
    __param(5, di_1.Inject((type) => graphql_1.GraphQl)),
    __param(6, di_1.Inject((type) => schema_builder_1.SchemaBuilder)),
    __param(7, di_1.Inject((type) => auth_1.Auth)),
    __metadata("design:paramtypes", [logger_1.LoggerFactory, Object, Object, Object, Object, Object, Object, Object])
], FileStorage);
exports.FileStorage = FileStorage;
github fullstack-build / fullstack-one / packages / auth / dist / index.js View on Github external
    __param(6, di_1.Inject((type) => logger_1.LoggerFactory)),
    __metadata("design:paramtypes", [Object, Object, Object, Object, Object, Object, logger_1.LoggerFactory])
github fullstack-build / fullstack-one / packages / db / dist / DbAppClient.js View on Github external
    __param(2, di_1.Inject((type) => logger_1.LoggerFactory)),
    __param(3, di_1.Inject((type) => config_1.Config)),
github fullstack-build / fullstack-one / packages / auto-migrate / dist / index.js View on Github external
return yield this.schemaBuilder.getDbSchemaBuilder().migrate(fromDbMeta, toDbMeta, configDB.renameInsteadOfDrop);
            }
            catch (err) {
                this.logger.warn("runMigration.error", err);
            }
        });
    }
};
AutoMigrate = __decorate([
    di_1.Service(),
    __param(0, di_1.Inject((type) => logger_1.LoggerFactory)),
    __param(1, di_1.Inject((type) => boot_loader_1.BootLoader)),
    __param(2, di_1.Inject((type) => config_1.Config)),
    __param(3, di_1.Inject((type) => schema_builder_1.SchemaBuilder)),
    __param(4, di_1.Inject((type) => db_1.DbAppClient)),
    __metadata("design:paramtypes", [logger_1.LoggerFactory,
        boot_loader_1.BootLoader,
        config_1.Config,
        schema_builder_1.SchemaBuilder,
        db_1.DbAppClient])
], AutoMigrate);
exports.AutoMigrate = AutoMigrate;
github fullstack-build / fullstack-one / packages / schema-builder / dist / index.js View on Github external
    __param(1, di_1.Inject((type) => logger_1.LoggerFactory)),
    __param(2, di_1.Inject((type) => boot_loader_1.BootLoader)),
github fullstack-build / fullstack-one / packages / auth-fb-token / dist / index.js View on Github external
    __param(5, di_1.Inject((type) => logger_1.LoggerFactory)),
    __metadata("design:paramtypes", [Object, Object, Object, Object, Object, logger_1.LoggerFactory])
github fullstack-build / fullstack-one / packages / server / dist / index.js View on Github external
    __param(0, di_1.Inject((type) => logger_1.LoggerFactory)),
    __param(1, di_1.Inject((type) => config_1.Config)),

@fullstack-one/logger

fullstack.one logger package

MIT
Latest version published 3 years ago

Package Health Score

49 / 100
Full package analysis

Popular @fullstack-one/logger functions

Similar packages