golanggohlsrtmpwebrtcmedia-serverobs-studiortcprtmp-proxyrtmp-serverrtprtsprtsp-proxyrtsp-relayrtsp-serversrtstreamingwebrtc-proxy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
395 B
20 lines
395 B
package logger |
|
|
|
// Destination is a log destination. |
|
type Destination int |
|
|
|
const ( |
|
// DestinationStdout writes logs to the standard output. |
|
DestinationStdout Destination = iota |
|
|
|
// DestinationFile writes logs to a file. |
|
DestinationFile |
|
|
|
// DestinationSyslog writes logs to the system logger. |
|
DestinationSyslog |
|
) |
|
|
|
type destination interface { |
|
log(Level, string, ...interface{}) |
|
close() |
|
}
|
|
|