Skip to content
Node.js client for encrypted log storage
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
package.json node.js client for encrypted log streaming and storage.


The project uses personal encryption keys to generate shared secret keys, used to perform end-to-end encryption (above TLS) from your node.js apps to your browser. In this scenario, the servers are working in zero-knowledge state.

Getting Started

Account creation:

Go to, login with UNLOQ and create an application


npm install


var loglet = require('');
    key: 'YOUR_APP_KEY',
    secret: 'YOUR_APP_SECRET'
 * The log item can contain the following properties:
 *  - name[=default] - the name of the logger or app instance
 *  - namespace[=global] - the namespace of the log event
 *  - level[=debug] - the log level. Values are: trace, debug, info, warn, error, fatal
 *  - message (required) - the message that we want to send.
 *  - data - additional data that can be attached to the log entry as a an object, array, string or number
 *  - tags - additional tags that can be attached to the log entry. Each tag entry must be a string.
 *  - error - additional error information. If we receive an error object, we will also include its stack trace.
 * */
    level: 'trace',
    message: 'Hello world!'


  • Q: What data is encrypted?

  • A: By default, the client encrypts the following fields:

  • message

  • data

  • error

  • Q: Can you read any of my logs?

  • A: Our servers work in a zero-knowledge state. That means that the node.js client encrypts the data before it sends it to our API for storage and livestream. The secret key is used to encrypt and decrypt all data, it is never stored in plaintext and we will never have access to it.

  • Q: How can you not have access to the secret key?

  • A: offers personal encryption keys for each user. The key is delivered directly in the user's browser and is used by the browser to encrypt all data before it sends it to our servers.

You can’t perform that action at this time.