LogViewerStrings constructor

const LogViewerStrings({
  1. String title = 'Logs',
  2. String loadFailed = 'Failed to load logs',
  3. String loadMoreFailed = 'Failed to load older logs',
  4. String retry = 'Retry',
  5. String empty = 'Nothing to display',
  6. String removeFilter = 'Remove filter',
  7. String search = 'Search',
  8. String levelFilter = 'Log level:',
  9. String tagFilter = 'Tags:',
  10. String export = 'Export',
  11. String exportFailed = 'Export failed',
  12. String entryTitle = 'Logged event',
  13. String level = 'Level',
  14. String date = 'Date',
  15. String message = 'Body',
  16. String location = 'Code location',
  17. String error = 'Error',
  18. String stackTrace = 'Stack',
  19. String levelName(
    1. LogLevel level
    ) = _defaultLevelName,
})

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,
});