mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 22:25:36 +07:00
23 lines
544 B
TypeScript
23 lines
544 B
TypeScript
import CircularBuffer from '../utils/CircularBuffer'
|
|
import LogEntry from './LogEntry'
|
|
|
|
export default class Log extends CircularBuffer<LogEntry> {
|
|
public constructor(capacity: number) {
|
|
super(capacity)
|
|
}
|
|
|
|
/**
|
|
* Creates a new Log object from the given string.
|
|
*
|
|
* @param enc - the encoded log
|
|
* @returns a log object
|
|
*/
|
|
// public static from(enc: string) : Log {}
|
|
|
|
/**
|
|
* Returns this log as string.
|
|
*
|
|
* @returns the log as string
|
|
*/
|
|
// public toString() : string {}
|
|
} |