// NewLogScope creates a new LogScope with the given prefix string.
NewLogScope creates a new LogScope with the given prefix string.
// NewLogScope creates a new LogScope with the given prefix string .
func NewLogScope(name string) LogScope {
	scopeMarker := tfmt.Colorizef(tfmt.DarkGray, tfmt.NoBackground, "[%s] ", name)
	return LogScope{
		name:    name,
		Error:   log.New(logLogger{Error}, scopeMarker, 0),
		Warning: log.New(logLogger{Warning}, scopeMarker, 0),
		Note:    log.New(logLogger{Note}, scopeMarker, 0),
		Debug:   log.New(logLogger{Debug}, scopeMarker, 0),
	}
}
func NewLogScope ( name string ) LogScope { scopeMarker := tfmt . Colorizef ( tfmt . DarkGray , tfmt . NoBackground , " " , name ) return LogScope { name : name , Error : log . New ( logLogger { Error } , scopeMarker , 0 ) , Warning : log . New ( logLogger { Warning } , scopeMarker , 0 ) , Note : log . New ( logLogger { Note } , scopeMarker , 0 ) , Debug : log . New ( logLogger { Debug } , scopeMarker , 0 ) , } }
NewLogScope creates a new LogScope with the given prefix string.
NewLogScope creates a new LogScope with the given prefix string .