Class: SilentLog

'brixy.err.SilentLog'~ SilentLog

new SilentLog (rootFolder, filePath)

SilentLog class. Saves an error report into a file. Doesn't show a dialog window.

Default log file: (myDocuments)/Error-log.txt

Available symbolic names of the root folder (case-sensitive):

Symbolic name Target folder
'appData' Folder.appData
'commonFiles' Folder.commonFiles
'desktop' Folder.desktop
'myDocuments' Folder.myDocuments
'userData' Folder.userData
Parameters:
Name Type Description
rootFolder string

Full path or symbolic name of the root folder.

filePath string

File name with path relative to the root folder.

Source:

Methods

report (err)

Saves an error to a log file. It doesn't show alert window.

Parameters:
Name Type Description
err BX.error.ErrorChain | Error | string
Source:

toString () → {string}

Returns a string representation of the object.

Returns:
  • string
Source: