extensions/extensions_file library

Extensions

LogLevelExtension on LogLevel
This extension is used to add a name property to the LogLevel enum The name property returns the name of the log level For example, LogLevel.debug.name returns 'DEBUG'
StringColorExtension on String
This extension is used to add a getColoredString method to the String class The getColoredString method returns the string with the color based on the log level