Nanook

Nanook

  • Docs
  • API
  • GitHub

›Logger

Logger

  • Logger Interface
  • Logger Memory

Model

  • Table Interface
  • Testcase Definition Interface
  • Todo Meta
  • Todo Static
  • Todo Generator
  • Todo Reference

Model Decision

  • Base Section Definition
  • Base Single Row Section Definition
  • Execute Section Definition
  • Never Execute Section Definition
  • Multiplicity Section Definition
  • Summary Section Definition
  • Field Section Definition
  • Field Sub Section Definition
  • Multi Row Section Definition
  • Tag Section Definition
  • Filter Section Definition
  • Generator Switch Section Definition
  • Testcase Definition Decision
  • Table Decision
  • Section Types
  • Validate Double
  • Validate Helper
  • Validate Missing

Model Matrix

  • Testcase Definition Matrix
  • Table Matrix

Importer xlsx

  • Importer xlsx

File Processor

  • Importer Interface
  • Parser Interface
  • Interface Filter
  • Simple Array Filter
  • Simple Array Ignore Filter
  • Parser Constants
  • Parser Decision Constants
  • Parser Decision
  • Parser Matrix Constants
  • Parser Matrix
  • Parser Specification Constants
  • Parser Specification
  • Parser Specification Converter

Data Generator

  • Data Generator Interface
  • Data Generator Base
  • Service Registry
  • Generator Faker

Processor

  • Interface Processor
  • Interface Writer
  • Node
  • Reference
  • Testcase Data
  • Processor
  • writeMetaData
  • writeStaticData
  • utilCartesian

Logger Memory

LoggerMemory ⇐ LoggerInterface

Implements a default logger. It will store all the logEntries in Memory. if 'writeConsole' is set to true, it will also output the logs to the console. This logger is mainly used for debugging and development.

Kind: global class
Extends: LoggerInterface

  • LoggerMemory ⇐ LoggerInterface
    • .writeConsole
    • .clear()
    • ._writeLog(level, entry)

loggerMemory.writeConsole

{boolean} Defines if the log entry should also be loged to the console. Default is not to write to console

Kind: instance property of LoggerMemory

loggerMemory.clear()

Clears all the existing log entries

Kind: instance method of LoggerMemory

loggerMemory._writeLog(level, entry)

Writes the log, or do what ever. At this point in time the logs with the wrong level arte already filtered

Kind: instance method of LoggerMemory

ParamTypeDescription
levelstringThe log level of the current entry
entrystring \objectThe data to log
← Logger InterfaceTable Interface →
  • LoggerMemory ⇐ LoggerInterface
    • loggerMemory.writeConsole
    • loggerMemory.clear()
    • loggerMemory._writeLog(level, entry)
Nanook
Docs
TutorialsGuide
More
ImprintPrivacy PolicyGitHubStar
Copyright © 2022 Nanook.io