mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
typos in godoc
This commit is contained in:
@@ -171,7 +171,7 @@ func (e *wrongLoggingLevelError) Error() string {
|
||||
}
|
||||
|
||||
// getLoggingLevelFromFileConfig returns a logrus level if a matching was found
|
||||
// with the one defined by ther user.
|
||||
// with the one defined by the user.
|
||||
// If no match, throws a wrongLoggingLevelError.
|
||||
func getLoggingLevelFromFileConfig(c *fileConfig) (logrus.Level, error) {
|
||||
l, ok := levels[c.Logs.Level]
|
||||
@@ -198,7 +198,7 @@ func (e *wrongLoggingFormatError) Error() string {
|
||||
}
|
||||
|
||||
// getLoggingLevelFromFileConfig returns a logrus Formatter if a matching was found
|
||||
// with the format defined by ther user.
|
||||
// with the format defined by the user.
|
||||
// If no match, throws a wrongLoggingFormatError.
|
||||
func getLoggingFormatterFromFileConfig(c *fileConfig) (logrus.Formatter, error) {
|
||||
f, ok := formatters[c.Logs.Format]
|
||||
|
||||
@@ -12,7 +12,7 @@ type logger struct {
|
||||
logger *logrus.Logger
|
||||
}
|
||||
|
||||
// log is our logger instance used accross the application.
|
||||
// log is our logger instance used across the application.
|
||||
var log = newLogger()
|
||||
|
||||
// newLogger instantiates a logger instance with default values.
|
||||
|
||||
Reference in New Issue
Block a user