Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogWriter ¶
type LogWriter struct {
// contains filtered or unexported fields
}
func New ¶
func New(output io.Writer, app *newrelic.Application) LogWriter
New creates a new LogWriter output is the io.Writer destination that you want your log to be written to app must be a vaild, non nil new relic Application
func (*LogWriter) DebugLogging ¶
DebugLogging toggles whether error information should be printed to console. By default, this service will fail silently. Enabling debug logging will print error messages on a new line after your log message.
func (*LogWriter) WithContext ¶
WithContext creates a new LogWriter for the transaction inside of a context
func (*LogWriter) WithTransaction ¶
func (lw *LogWriter) WithTransaction(txn *newrelic.Transaction) LogWriter
WithTransaction creates a new LogWriter for a specific transactions
Click to show internal directories.
Click to hide internal directories.