wip refactoring: better logging and error systems

This commit is contained in:
Julien Neuhart
2019-07-07 17:45:07 +02:00
parent a4aa8dafac
commit c8f7ea934c
36 changed files with 1346 additions and 1096 deletions

View File

@@ -7,7 +7,7 @@ import (
"os/exec"
"strings"
log "github.com/thecodingmachine/gotenberg/internal/pkg/logger"
"github.com/thecodingmachine/gotenberg/internal/pkg/logger"
)
const (
@@ -30,7 +30,7 @@ type Process interface {
type processManager struct {
heuristicState int32
logger *log.StandardLogger
logger *logger.Logger
}
func (m *processManager) start(p Process) error {