Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove LOG_LEVEL.*
  • Loading branch information
matanlurey committed Sep 21, 2023
commit 24ba4e0ed363ea8204a29dd9977d726a51ef894e
18 changes: 0 additions & 18 deletions fml/log_level.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,6 @@ constexpr LogSeverity kLogError = 2;
constexpr LogSeverity kLogFatal = 3;
constexpr LogSeverity kLogNumSeverities = 4;

// DEPRECATED: Use |kLogInfo|.
constexpr LogSeverity LOG_INFO = kLogInfo;

// DEPRECATED: Use |kLogWarning|.
constexpr LogSeverity LOG_WARNING = kLogWarning;

// DEPRECATED: Use |kLogError|.
constexpr LogSeverity LOG_ERROR = kLogError;

// DEPRECATED: Use |kLogFatal|.
constexpr LogSeverity LOG_FATAL = kLogFatal;

// DEPRECATED: Use |kLogNumSeverities|.
constexpr LogSeverity LOG_NUM_SEVERITIES = kLogNumSeverities;

// One of the Windows headers defines ERROR to 0. This makes the token
// concatenation in FML_LOG(ERROR) to resolve to LOG_0. We define this back to
// the appropriate log level.
Expand All @@ -45,9 +30,6 @@ const LogSeverity kLogDFatal = kLogError;
const LogSeverity kLogDFatal = kLogFatal;
#endif

// DEPRECATED: Use |kLogDFatal|.
const LogSeverity LOG_DFATAL = kLogDFatal;

} // namespace fml

#endif // FLUTTER_FML_LOG_LEVEL_H_