DesktopStore

class DesktopStore(val logFormat: LogFormat) : LogStore(source)

Desktop store implementation.

Since

1.3.1

Constructors

Link copied to clipboard
internal constructor(logFormat: LogFormat)

Properties

Link copied to clipboard

The size of a single log file(in bytes).

Link copied to clipboard

Folder to store log files.

Link copied to clipboard
open override val logFormat: LogFormat

Functions

Link copied to clipboard
private fun checkFileRoot(): String

Determine whether the folder storage path exists. If it is "", create a folder named log in the current folder for log storage. If it is not empty but the folder does not exist, it will be created automatically. If it is not empty and exists, no processing will be done

Link copied to clipboard
private fun getFileList(fileNamePrefix: String): List<File>

Get log files in the folder and order them based on the file date.

Link copied to clipboard
private fun getFileOrderNumber(fileName: String): Int
Link copied to clipboard
private fun storage(info: LogInfo)
Link copied to clipboard
open override fun store(logInfo: LogInfo)