-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from fullstorydev/emerssso/MOCA-9778/update-log…
…-levels Adjust log levels to match session replay console.
- Loading branch information
Showing
3 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
/// Log levels. Controls how logs appear in the Dev tools > Console section of a Fullstory session replay | ||
/// | ||
/// These correspond to the levels shown in session replay, | ||
/// not the the levels used in Android/iOS logging. | ||
enum FSLogLevel { | ||
// Note: the order matters; the index is used to match to the appropriate value in the android and ios platform code | ||
|
||
/// Verbose on Android, clamps to Debug on iOS | ||
/// Lower than default level logging. | ||
/// | ||
/// Equivalent to debug level on Android and iOS. | ||
log, | ||
|
||
/// Debug log level, currently combined with `log` in Fullstory's console. | ||
debug, | ||
|
||
/// Info log level, default | ||
info, | ||
|
||
/// Warn log level | ||
warn, | ||
|
||
/// Error log level. Will appear in in both the console and the event list in Fullstory | ||
/// Error log level. | ||
/// | ||
/// Will appear in in both the console and the event list in Fullstory | ||
error, | ||
|
||
//assert, // treated as error on iOS, not available on Android. Disabled here because it's a reserved keyword in dart. | ||
// exception, Not currently supported by underlying platforms. | ||
} |