package
0.0.0-20190523085338-3fbe42882493
Repository: https://github.com/benjaminvaniseghem/be-mobile-logging.git
Documentation: pkg.go.dev

# Functions

CreateLogBuffer creates an in-memory buffer to temporarily store logs.
Error pushes the error onto the buffer and flushes the buffer to file.
Fatal func pushes the error onto the buffer and flushes the buffer to file Afterwards the Fatal function from logrus is called */.
GetLogBufferAndLogger function.
Panic func pushes the error onto the buffer and flushes the buffer to file Afterwards the Panic function from logrus is called */.
SetMaxAmountOfBuffers func -> Default = 200.

# Variables

MaxNumberOfBuffers var.

# Structs

LFile is an exported struct with a the buffer to which logs are written and extra info for making a write file.