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

koatty_logger

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koatty_logger - npm Package Compare versions

Comparing version 1.3.8 to 1.3.10

docs/api/koatty_logger.logger.getlogconsole.md

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [1.3.10](https://github.com/thinkkoa/koatty_logger/compare/v1.3.8...v1.3.10) (2021-12-21)
### [1.3.8](https://github.com/thinkkoa/koatty_logger/compare/v1.3.6...v1.3.8) (2021-12-21)

@@ -7,0 +9,0 @@

/*!
* @Author: richen
* @Date: 2021-12-21 11:22:47
* @Date: 2021-12-21 11:30:08
* @License: BSD (3-Clause)

@@ -96,2 +96,42 @@ * @Copyright (c) - <richenlin(at)gmail.com>

/**
* getLogConsole
*/
getLogConsole(): boolean;
/**
* setLogConsole
*/
setLogConsole(t: boolean): void;
/**
* getLogFile
*/
getLogFile(): boolean;
/**
* setLogFile
*/
setLogFile(t: boolean): void;
/**
* getLogFileLevel
*/
getLogFileLevel(): LogLevelType;
/**
* setLogFileLevel
*/
setLogFileLevel(level: LogLevelType): void;
/**
* getLogFilePath
*/
getLogFilePath(): string;
/**
* setLogPath
*/
setLogFilePath(path: string): void;
/**
* getSensFields
*/
getSensFields(): Set<string>;
/**
* setSensFields
*/
setSensFields(fields: string[]): void;
/**
* 格式化

@@ -98,0 +138,0 @@ *

/*!
* @Author: richen
* @Date: 2021-12-21 11:22:37
* @Date: 2021-12-21 11:29:58
* @License: BSD (3-Clause)

@@ -135,3 +135,3 @@ * @Copyright (c) - <richenlin(at)gmail.com>

* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-12-20 11:29:38
* @LastEditTime: 2021-12-21 11:28:44
* @License: BSD (3-Clause)

@@ -232,2 +232,62 @@ * @Copyright (c) - <richenlin(at)gmail.com>

/**
* getLogConsole
*/
getLogConsole() {
return this.logConsole;
}
/**
* setLogConsole
*/
setLogConsole(t) {
this.logConsole = t;
}
/**
* getLogFile
*/
getLogFile() {
return this.logFile;
}
/**
* setLogFile
*/
setLogFile(t) {
this.logFile = t;
}
/**
* getLogFileLevel
*/
getLogFileLevel() {
return this.logFileLevel;
}
/**
* setLogFileLevel
*/
setLogFileLevel(level) {
this.logFileLevel = level;
}
/**
* getLogFilePath
*/
getLogFilePath() {
return this.logFilePath;
}
/**
* setLogPath
*/
setLogFilePath(path) {
this.logFilePath = path;
}
/**
* getSensFields
*/
getSensFields() {
return this.sensFields;
}
/**
* setSensFields
*/
setSensFields(fields) {
this.sensFields = new Set([...this.sensFields, ...fields]);
}
/**
* 格式化

@@ -234,0 +294,0 @@ *

2

dist/package.json
{
"name": "koatty_logger",
"version": "1.3.8",
"version": "1.3.10",
"description": "Logger for koatty.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -32,5 +32,15 @@ <!-- Do not edit this file. It is automatically generated by API Documenter. -->

| [getLevel()](./koatty_logger.logger.getlevel.md) | | getLevel |
| [getLogConsole()](./koatty_logger.logger.getlogconsole.md) | | getLogConsole |
| [getLogFile()](./koatty_logger.logger.getlogfile.md) | | getLogFile |
| [getLogFileLevel()](./koatty_logger.logger.getlogfilelevel.md) | | getLogFileLevel |
| [getLogFilePath()](./koatty_logger.logger.getlogfilepath.md) | | getLogFilePath |
| [getSensFields()](./koatty_logger.logger.getsensfields.md) | | getSensFields |
| [Info(args)](./koatty_logger.logger.info.md) | | log Info |
| [Log(args)](./koatty_logger.logger.log.md) | | log Log<!-- -->Logger.Log('msg')<!-- -->Logger.Log('name', 'msg')<!-- -->Logger.Log('name', 'color', 'msg')<!-- -->Logger.Log('name', 'color', 'msg1', 'msg2'...) |
| [setLevel(level)](./koatty_logger.logger.setlevel.md) | | setLevel |
| [setLogConsole(t)](./koatty_logger.logger.setlogconsole.md) | | setLogConsole |
| [setLogFile(t)](./koatty_logger.logger.setlogfile.md) | | setLogFile |
| [setLogFileLevel(level)](./koatty_logger.logger.setlogfilelevel.md) | | setLogFileLevel |
| [setLogFilePath(path)](./koatty_logger.logger.setlogfilepath.md) | | setLogPath |
| [setSensFields(fields)](./koatty_logger.logger.setsensfields.md) | | setSensFields |
| [Success(args)](./koatty_logger.logger.success.md) | | log Success |

@@ -37,0 +47,0 @@ | [Warn(args)](./koatty_logger.logger.warn.md) | | log Warn |

{
"name": "koatty_logger",
"version": "1.3.8",
"version": "1.3.10",
"description": "Logger for koatty.",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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