0.4.0 • Published 4 years ago
winston-azure-blob-transport v0.4.0
winston-azure-blob-transport
A Windows Azure blob storage transport for winston.
Installation
$ npm install winston
$ npm install winston-azure-blob-transport
Usage
var winston = require("winston");
require("winston-azure-blob-transport");
var logger = new (winston.Logger)({
transports: [
new (winston.transports.AzureBlob)({
account: {
name: "Azure storage account sub domain ([A-Za-z0-9])",
key: "The long Azure storage secret key"
},
containerName: "A container name",
blobName: "The name of the blob",
level: "info"
})
]
});
logger.warn("Hello!");
The Azure transport accepts the following options:
- level: Level of messages that this transport should log (defaults to
info
). - account.name: The name of the Windows Azure storage account to use
- account.key: The access key used to authenticate into this storage account
- blobName: The name of the blob to log.
- containerName: The container which will contain the logs.
0.4.0
4 years ago
0.3.3
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.11
5 years ago
0.2.10
5 years ago
0.2.9
5 years ago
0.2.8
5 years ago
0.2.7
6 years ago
0.2.6
7 years ago
0.2.5
7 years ago
0.2.4
7 years ago
0.2.3
7 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.0
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.0
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago