NanookNanook
  • [ DOCS ]
  • [ API ]
  • [ BLOG ]
  • [ 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 Interface

LoggerInterface

Defines the interface of a logger used by all the modules.

Kind: global class

  • LoggerInterface
    • .level
    • .clear()
    • ._getLevelNumber(level) ⇒ number
    • ._log(level, arg)
    • ._writeLog(level, entry)
    • .debug(message) ⇒ Promise
    • .info(message) ⇒ Promise
    • .warning(message) ⇒ Promise
    • .error(message) ⇒ Promise
    • .fatal(message) ⇒ Promise
    • ._getTime()

loggerInterface.level

sets a new log level

Kind: instance property of LoggerInterface

Param Type Description
level number/string The logLevel as number or String value

loggerInterface.clear()

Clears all the existing log entries Placeholder for the implementing loggers

Kind: instance method of LoggerInterface

loggerInterface._getLevelNumber(level) ⇒ number

returns the logLevel as a number

Kind: instance method of LoggerInterface
Returns: number - num The loglevel as a number

Param Type Description
level string The loglevel as a string

loggerInterface._log(level, arg)

Do the logging

Kind: instance method of LoggerInterface

Param Type Description
level string The log level of the current entry
arg string \ object The data to log

loggerInterface._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 LoggerInterface

Param Type Description
level string The log level of the current entry
entry string \ object The data to log

loggerInterface.debug(message) ⇒ Promise

Logs the given message with the level 'debug'

Kind: instance method of LoggerInterface
Returns: Promise - promise A promise when the log is written

Param Type Description
message string/object The message or data to log

loggerInterface.info(message) ⇒ Promise

Logs the given message with the level 'info'

Kind: instance method of LoggerInterface
Returns: Promise - promise A promise when the log is written

Param Type Description
message string/object The message or data to log

loggerInterface.warning(message) ⇒ Promise

Logs the given message with the level 'warning'

Kind: instance method of LoggerInterface
Returns: Promise - promise A promise when the log is written

Param Type Description
message string/object The message or data to log

loggerInterface.error(message) ⇒ Promise

Logs the given message with the level 'error'

Kind: instance method of LoggerInterface
Returns: Promise - promise A promise when the log is written

Param Type Description
message string/object The message or data to log

loggerInterface.fatal(message) ⇒ Promise

Logs the given message with the level 'fatal'

Kind: instance method of LoggerInterface
Returns: Promise - promise A promise when the log is written

Param Type Description
message string/object The message or data to log

loggerInterface._getTime()

Returns the current time in the format used by this logger

Kind: instance method of LoggerInterface

Logger Memory →
  • LoggerInterface
    • loggerInterface.level
    • loggerInterface.clear()
    • loggerInterface._getLevelNumber(level) ⇒ number
    • loggerInterface._log(level, arg)
    • loggerInterface._writeLog(level, entry)
    • loggerInterface.debug(message) ⇒ Promise
    • loggerInterface.info(message) ⇒ Promise
    • loggerInterface.warning(message) ⇒ Promise
    • loggerInterface.error(message) ⇒ Promise
    • loggerInterface.fatal(message) ⇒ Promise
    • loggerInterface._getTime()
Nanook
[ DOCS ] Tutorials Guide
[ MORE ] About Imprint Privacy Policy GitHub Manage Cookies
© 2018-2026 NANOOK.XHUB.IO — An Open Source Project by BeeBack UG.
[ COOKIE PREFERENCES ]

We use cookies to analyze site usage and improve your experience. You can choose which cookies to allow below. See our Privacy Policy for details.

ESSENTIALAlways active
Provider nanook.xhub.io (First Party)
Cookies nanook-theme — Stores your theme preference (CRT/INK)
Duration Persistent (localStorage)
Purpose Remember your display preferences across visits
ANALYTICS
Provider Google LLC (Google Analytics 4)
Cookies _ga, _ga_PMNJR2G9ZH — Distinguish unique visitors and sessions
Duration _ga: 2 years, _ga_*: 2 years
Purpose Measure site usage, page views, and traffic sources to improve the site. IP addresses are anonymized.
Privacy Google Privacy Policy