Documentation ¶
Index ¶
- Variables
- func IsTTY() bool
- type Logger
- func (l *Logger) Debug(format string, a ...interface{})
- func (l *Logger) Error(err error)
- func (l Logger) From(from ...string) *Logger
- func (l *Logger) Info(format string, a ...interface{})
- func (l *Logger) Println(message string)
- func (l Logger) Raw() *Logger
- func (l *Logger) SetOutput(w io.Writer) *Logger
- func (l *Logger) Success(format string, a ...interface{})
- func (l *Logger) Warning(format string, a ...interface{})
- func (l Logger) WithContext(context interface{}) *Logger
- func (l Logger) WithTrace() *Logger
- type ServiceProvider
Constants ¶
This section is empty.
Variables ¶
View Source
var FacadeWrapper = &larago.Facade{}
FacadeWrapper for facade.
Functions ¶
Types ¶
type Logger ¶
type Logger struct { DateTimeFormat string DebugMode bool Logger *log.Logger // contains filtered or unexported fields }
Logger struct.
func (Logger) WithContext ¶
WithContext adds additional context to the record.
type ServiceProvider ¶
type ServiceProvider struct{}
ServiceProvider struct.
func (*ServiceProvider) Register ¶
func (p *ServiceProvider) Register(application *larago.Application)
Register service.
Click to show internal directories.
Click to hide internal directories.