func getLevel(lvlString string) Level {
	for idx, str := range LongLevelStrings {
		if str == lvlString {
			return Level(idx)
		}
	}
	return Level(0)
}
Return a given level string as the actual Level value
package timber
import (
	"bytes"
	"errors"
	"fmt"
	"os"
	"runtime"
	"sync"
	"time"
)
type Level int
const (
	NONE Level = iota  
	FINEST
	FINE
	DEBUG
	TRACE
	INFO
	WARNING
	ERROR
	CRITICAL
)
const DefaultFileDepth int = 3
var LevelStrings = [...]string{"", "FNST", "FINE", "DEBG", "TRAC", "INFO", "WARN", "EROR", "CRIT"}
var LongLevelStrings = []string{
	"NONE",
	"FINEST",
	"FINE",
	"DEBUG",
	"TRACE",
	"INFO",
	"WARNING",
	"ERROR",
	"CRITICAL",
}