Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

syntex-logger

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syntex-logger - npm Package Compare versions

Comparing version 1.0.8-b12 to 1.0.8-b14

14

main.js

@@ -57,11 +57,11 @@ let LanguageSwitcher = require('./language_manager');

{
constructor(pluginName, debug, language)
constructor(platform)
{
logger = this;
this.LanguageSwitcher = new LanguageSwitcher(language || 'en');
this.LanguageSwitcher = new LanguageSwitcher(platform.language || 'en');
this.logLevel = 'success';
if(debug)
if(platform.debug)
{

@@ -71,5 +71,5 @@ this.logLevel = 'debug';

if(pluginName != null)
if(platform.pluginName != null)
{
this.pluginName = pluginName;
this.pluginName = platform.pluginName;
}

@@ -219,3 +219,3 @@ else

data = data.toString();
data = data.replace(/\"/g, "'");
data = data.replace(/"/g, "'");

@@ -266,3 +266,3 @@ var parts = data.split('#\n');

{
for(var i = 0; i < (message.match(/\%/g) || []).length; i+=2)
for(var i = 0; i < (message.match(/%/g) || []).length; i += 2)
{

@@ -269,0 +269,0 @@ var param = message.split('%')[i + 1].split('%')[0];

{
"name": "syntex-logger",
"version": "1.0.8-b12",
"version": "1.0.8-b14",
"description": "A Basic Logging System",

@@ -5,0 +5,0 @@ "main": "main.js",

@@ -16,8 +16,5 @@ # SynTex Logger

var pluginName = 'Demo Plugin',
logStoragePath = '/var/demo_plugin/logs',
debug = true,
language = 'us';
let logger = new Logger({ pluginName : 'Demo Plugin', language : 'us', debug : true });
let logger = new Logger(pluginName, logStoragePath, debug, language);
logger.setLogDirectory('/var/demo_plugin/logs');

@@ -24,0 +21,0 @@ var level = 'success',

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc