summaryrefslogtreecommitdiff
path: root/recording
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-08 00:47:27 +0800
committerKeuin <[email protected]>2022-09-08 00:47:27 +0800
commit7a3543b128e94155eafffa6a96644564b2e95914 (patch)
tree2607d4f0cbb75dcf4306d6e82a6ed21ced0eb154 /recording
parentb473c12438438a4709708d5d4ecd403d81f11e03 (diff)
Pretty task profile display.
Diffstat (limited to 'recording')
-rw-r--r--recording/config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/recording/config.go b/recording/config.go
index bcd5755..bce9a8f 100644
--- a/recording/config.go
+++ b/recording/config.go
@@ -30,14 +30,14 @@ func DefaultTransportConfig() TransportConfig {
}
func (t TaskConfig) String() string {
- return fmt.Sprintf("room: %v, %v, %v", t.RoomId, t.Transport.String(), t.Download.String())
+ return fmt.Sprintf("Room ID: %v, %v, %v", t.RoomId, t.Transport.String(), t.Download.String())
}
func (t TransportConfig) String() string {
- return fmt.Sprintf("socket timeout: %vs, retry interval: %vs, max retry times: %v",
+ return fmt.Sprintf("Socket timeout: %vs, Retry interval: %vs, Max retry times: %v",
t.SocketTimeoutSeconds, t.RetryIntervalSeconds, t.MaxRetryTimes)
}
func (d DownloadConfig) String() string {
- return fmt.Sprintf("save directory: %v", d.SaveDirectory)
+ return fmt.Sprintf("Save directory: \"%v\"", d.SaveDirectory)
}