Skip to content

Commit

Permalink
Update doc comments on RealmLogLevel members
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed May 24, 2022
1 parent d16319d commit b2eecee
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions lib/src/realm_class.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,39 +77,51 @@ export 'session.dart' show Session, SessionState, ConnectionState, ProgressDirec
class RealmLogLevel {
/// Log everything. This will seriously harm the performance of the
/// sync client and should never be used in production scenarios.
///
/// Same as [Level.ALL]
static const all = Level.ALL;

/// A version of 'debug' that allows for very high volume output.
/// A version of [debug] that allows for very high volume output.
/// This may seriously affect the performance of the sync client.
///
/// Same Level.FINEST
/// Same as [Level.FINEST]
static const trace = Level('TRACE', 300);

/// Reveal information that can aid debugging, no longer paying
/// attention to efficiency.
///
/// Same as Level.FINER
/// Same as [Level.FINER]
static const debug = Level('DEBUG', 400);

/// Same as 'Info', but prioritize completeness over minimalism.
/// Same as [info], but prioritize completeness over minimalism.
///
/// Same as Level.FINE;
/// Same as [Level.FINE];
static const detail = Level('DETAIL', 500);

/// Log operational sync client messages, but in a minimalist fashion to
/// avoid general overhead from logging and to keep volume down.
///
/// Same as [Level.INFO];
static const info = Level.INFO;

/// Log errors and warnings.
///
/// Same as [Level.WARNING];
static const warn = Level.WARNING;

/// Log errors only.
static const error = Level('ERROR', 1000); // Same as Level.SEVERE;
///
/// Same as [Level.SEVERE];
static const error = Level('ERROR', 1000);

/// Log only fatal errors.
static const fatal = Level('FATAL', 1200); // Same as Level.SHOUT;
///
/// Same as [Level.SHOUT];
static const fatal = Level('FATAL', 1200);

/// Log nothing.
///
/// Same as [Level.OFF];
static const off = Level.OFF;

static const levels = [
Expand Down

0 comments on commit b2eecee

Please sign in to comment.