buildLog static method
Implementation
static LogMessage buildLog(LogDestination destination, String message, LogFilterKind kind) {
switch (destination) {
case LogDestination.log:
return LogMessage(kind, message, LogDestination.log);
case LogDestination.metric:
return LogMessage(LogFilterKind.debug, message, LogDestination.metric);
case LogDestination.history:
return LogMessage(LogFilterKind.debug, message, LogDestination.history);
}
}