Skip to content

Latest commit

 

History

History
87 lines (47 loc) · 3.36 KB

_esp32_javascript_modules_esp32_javascript_filelogging_.md

File metadata and controls

87 lines (47 loc) · 3.36 KB

esp32-javascript"esp32-javascript/modules/esp32-javascript/filelogging"

Module: "esp32-javascript/modules/esp32-javascript/filelogging"

Index

Variables

Functions

Variables

Const FILE_LOGGING_DIRECTORY

FILE_LOGGING_DIRECTORY: "/data/logs" = "/data/logs"

Defined in esp32-javascript/modules/esp32-javascript/filelogging.ts:26


Const LOG_FILE_NUM_LIMIT

LOG_FILE_NUM_LIMIT: 8 = 8

Defined in esp32-javascript/modules/esp32-javascript/filelogging.ts:28


Const LOG_FILE_SIZE_LIMIT

LOG_FILE_SIZE_LIMIT: 10240 = 10240

Defined in esp32-javascript/modules/esp32-javascript/filelogging.ts:27


Const NUMBER_PREFIX

NUMBER_PREFIX: "00000000" = "00000000"

Defined in esp32-javascript/modules/esp32-javascript/filelogging.ts:31


Const TDIWEF

TDIWEF: "TDIWEF" = "TDIWEF"

Defined in esp32-javascript/modules/esp32-javascript/filelogging.ts:30


Let logFileNumber

logFileNumber: number = -1

Defined in esp32-javascript/modules/esp32-javascript/filelogging.ts:32

Functions

cleanupOldLogs

cleanupOldLogs(): void

Defined in esp32-javascript/modules/esp32-javascript/filelogging.ts:50

Returns: void


getLogFileNumber

getLogFileNumber(): string

Defined in esp32-javascript/modules/esp32-javascript/filelogging.ts:34

Returns: string