- Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.Used for miscellaneous pkg/ packages not associated with specific area- teams.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
This issue was originally filed by @seaneagan
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
area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.Used for miscellaneous pkg/ packages not associated with specific area- teams.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug