(level string)
| 871 | } |
| 872 | |
| 873 | func (d *Driver) SetLogLevel(level string) error { |
| 874 | logLevel := hclog.LevelFromString(level) |
| 875 | if logLevel == hclog.NoLevel { |
| 876 | return fmt.Errorf("log level should be TRACE, DEBUG or INFO, got %v", level) |
| 877 | } |
| 878 | d.logger.SetLevel(logLevel) |
| 879 | |
| 880 | return nil |
| 881 | } |
| 882 | |
| 883 | func (d *Driver) ResetDebugJob(job *string) string { |
| 884 | if job != nil { |
no outgoing calls
no test coverage detected