goog.net.BrowserChannel.LogSaver
Namespacegoog.net.BrowserChannel.LogSaver
A LogSaver that can be used to accumulate all the debug logs for BrowserChannels so they can be sent to the server when a problem is detected.
.addLogRecord(logRecord)
Adds a log record.
logRecord
{goog.debug.LogRecord
}
.clearBuffer()
Clears the buffer
.getBuffer()
Returns the log as a single string.
string
}
.isEnabled()
Returns whether the LogSaver is enabled.
boolean
}
.setEnabled(enable)
Enables of disables the LogSaver.
enable
{boolean
}