LogViewerStrings constructor
const
LogViewerStrings({
- String title = 'Logs',
- String loadFailed = 'Failed to load logs',
- String loadMoreFailed = 'Failed to load older logs',
- String retry = 'Retry',
- String empty = 'Nothing to display',
- String removeFilter = 'Remove filter',
- String search = 'Search',
- String levelFilter = 'Log level:',
- String tagFilter = 'Tags:',
- String export = 'Export',
- String exportFailed = 'Export failed',
- String entryTitle = 'Logged event',
- String level = 'Level',
- String date = 'Date',
- String message = 'Body',
- String location = 'Code location',
- String error = 'Error',
- String stackTrace = 'Stack',
- String levelName(
- LogLevel level
Implementation
const LogViewerStrings({
this.title = 'Logs',
this.loadFailed = 'Failed to load logs',
this.loadMoreFailed = 'Failed to load older logs',
this.retry = 'Retry',
this.empty = 'Nothing to display',
this.removeFilter = 'Remove filter',
this.search = 'Search',
this.levelFilter = 'Log level:',
this.tagFilter = 'Tags:',
this.export = 'Export',
this.exportFailed = 'Export failed',
this.entryTitle = 'Logged event',
this.level = 'Level',
this.date = 'Date',
this.message = 'Body',
this.location = 'Code location',
this.error = 'Error',
this.stackTrace = 'Stack',
this.levelName = _defaultLevelName,
});