Options
All
  • Public
  • Public/Protected
  • All
Menu

pandora-service-logger

Index

Type aliases

LoggerLevel

LoggerLevel: "ALL" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "NONE"

RotationType

RotationType: "date" | "size"

Variables

ERROR_MSG_TIMER_BEEN_REMOVED

ERROR_MSG_TIMER_BEEN_REMOVED: "TIMER_BEEN_REMOVED" = "TIMER_BEEN_REMOVED"

HEARTBEAT_TIME

HEARTBEAT_TIME: number = 1000 * 60 * 2

HEARTBEAT_TIME_MAX

HEARTBEAT_TIME_MAX: number = 1000 * 60 * 3

MESSENGER_ACTION_SERVICE

MESSENGER_ACTION_SERVICE: "LOGGER_INTERNAL" = "LOGGER_INTERNAL"

MIN_INTERVAL

MIN_INTERVAL: number = 60 * 1000

SOCKET_FILE_NAME

SOCKET_FILE_NAME: "pandora_logger" = "pandora_logger"

Object literals

DEFAULT_LOGGER_CONFIG

DEFAULT_LOGGER_CONFIG: object

emitterLevel

emitterLevel: string = "INFO"

level

level: string = "WARN"

stdoutLevel

stdoutLevel: string = "ERROR"

DEFAULT_ROTATION_CONFIG

DEFAULT_ROTATION_CONFIG: object

maxFileSize

maxFileSize: number = 300 * 1024 * 1024

maxFiles

maxFiles: number = 10

rotateDuration

rotateDuration: number = 5 * 60 * 1000

type

type: "date" | "size" = <RotationType> 'date'