
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
@namics/remlog-server
Advanced tools
const { Server } = require('@namics/remlog-server');
The server package is the main core for the remote logging process and provides you the API needed to trace logs immediately. There are a few endpoints you should know first:
/ will give you an overview about all the logs happend in the current process/info will show you the package name and version of the server instance/trace is a HTTP POST route and will take the JSON body as trace payload/tracer.jpg is a HTTP GET API and is implement by the @namics/remlog-browser-client package to provide a cross-browser method to log messages/logs.json will return an array of JSON objects representing all your logs/logs/<log-id>.json will show you a single log entry in JSON formatnew require('@namics/remlog-server')
.Server({
port: 8123,
transport: `@namics/remlog-transports/Console`, // default
cors: ['*'] // default
})
.start();
new require('@namics/remlog-server')
.Server({
port: 9001,
transport: `@namics/remlog-transports/FileSystem`,
cors: ['my-domain.com', 'remote.namics.com'],
// enables SSL on the server
ssl: {
key: './ssl/my-domain/key.pem',
cert: './ssl/my-domain/cert.pem',
passphrase: 'k12Sh1$£1e3^7VcaR#t'
}
})
.start();
This uses the HTTP POST JSON API from the server exposed under the
/traceroute.
import axios from 'axios';
import { LOGLEVEL, getTraceUrl } from '@namics/remlog-utils';
const serverConfig = {
host: '127.0.0.1',
port: '<your-server-port>'
};
axios.post(getTraceUrl(serverConfig), {
shortMessage: 'Hey you!',
fullMessage: 'Blablabla',
level: LOGLEVEL.INFO
});
Review the Changelog
FAQs
###### Contents
We found that @namics/remlog-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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 adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.