Home Reference Source
import LogTab from './ui/components/tabs/tab_log.js'
public class | source

LogTab

Extends:

Events → LogTab

Tab panel to display logging of cables logger

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

closed: boolean

public

data: {"cells": *, "colNames": *}

public

hasErrorButton: boolean

public
public
public

report: *[]

public

sentAutoReport: boolean

Private Members
private

_hasError: boolean

private

_log: *

private

_logs: *[]

private
private

_tab: *

private

_tabs: *

Method Summary

Public Methods
public

close()

public
Private Methods
private

_html()

private

_logErrorSrcCodeLine(l: *, url: *, line: *)

private

_logLine(log: *, txt: *, level: *, timediff: *): *

private

Inherited Summary

From class Events
public

off: *

public

on: *

private
private
private

_log: *

private

_logEvents: boolean

private

_logName: string

public

addEventListener(which: *, cb: *, idPrefix: string): string

add event listener

public

emitEvent(which: string, param1: *, param2: *, param3: *, param4: *, param5: *, param6: *)

emit event

public

hasEventListener(id: *, cb: *): boolean

check event listener registration

public

hasListenerForEventName(eventName: *): boolean

check event listener by name

public

logEvents(enabled: boolean, logName: string)

enable/disable logging of events for the class

public

removeEventListener(id: *, cb: *)

rempve event listener registration

Public Constructors

public constructor() source

Override:

Events#constructor

Public Members

public closed: boolean source

public data: {"cells": *, "colNames": *} source

public hasErrorButton: boolean source

public lastErrorMsg: * source

public lastErrorSrc: *[] source

public report: *[] source

public sentAutoReport: boolean source

Private Members

private _hasError: boolean source

private _log: * source

Override:

Events#_log

private _logs: *[] source

private _showlogListener: * source

private _tab: * source

private _tabs: * source

Public Methods

public close() source

public createReport(): * source

Return:

*

Private Methods

private _html() source

private _logErrorSrcCodeLine(l: *, url: *, line: *) source

Params:

NameTypeAttributeDescription
l *
url *
line *

private _logLine(log: *, txt: *, level: *, timediff: *): * source

Params:

NameTypeAttributeDescription
log *
txt *
level *
timediff *

Return:

*

private _showLog() source