mirror of
https://github.com/zrepl/zrepl.git
synced 2025-01-18 12:18:19 +01:00
parent
2bfcfa5be8
commit
bfbab9382e
@ -26,15 +26,6 @@ const (
|
|||||||
MetadataAll MetadataFlags = ^0
|
MetadataAll MetadataFlags = ^0
|
||||||
)
|
)
|
||||||
|
|
||||||
func StdoutOutlet() logger.Outlet {
|
|
||||||
formatter := &HumanFormatter{}
|
|
||||||
writer := os.Stdout
|
|
||||||
formatter.SetMetadataFlags(MetadataAll)
|
|
||||||
return WriterOutlet{
|
|
||||||
formatter, writer,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func parseLogging(i interface{}) (c *LoggingConfig, err error) {
|
func parseLogging(i interface{}) (c *LoggingConfig, err error) {
|
||||||
|
|
||||||
c = &LoggingConfig{}
|
c = &LoggingConfig{}
|
||||||
|
Loading…
Reference in New Issue
Block a user