- Notifications
You must be signed in to change notification settings - Fork 33
Open
Yamasaki-pan961/flutter-yumemi-training
#27Labels
package:loggingtype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
<img src="https://avatars.githubusercontent.com/u/444270?v=3" align="left" width="96" height="96"hspace="10"> Issue by seaneagan
Originally opened as dart-lang/sdk#12030
The logging package should provide support for converting LogRecords into Strings.
In Java's logback these are called Layouts:
http://logback.qos.ch/manual/layouts.html
For example:
class LogFormat {
String format(LogRecord record);
}
Then can use it like so:
logger.onRecord.map(logFormat.format)
Metadata
Metadata
Assignees
Labels
package:loggingtype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug