# Functions
No description provided by the author
Log Creates a log entry and writes it to alt4 in the background.
No description provided by the author
SetAuthToken Used to set the auth token for writing to alt4.
SetDebugOutput Is used to specify where alt4 emits additional output e.g.
SetMode Sets the behaviour of alt4 based on the following: `release` - Under this mode logs are written to alt4 and not emitted to stdout `debug` - Under this mode logs are written to alt4 and emitted to stdout `testing` - Under this mode logs are not written to alt4, just emitted to stdout `silent` - Under this mode logs are not written to alt4 or emitted to stdout `json`(coming soon) - Under this mode all logs are written to a JSON file which you can later upload to alt4 Mode can also be set via a config file ALT4_CONFIG or setting environment variable ALT4_MODE Default mode is `release`.
SetSource Sets an id to identify where your logs are coming from By setting the source you distinguish logs from different sources e.g.
Provide wait groups per go routine ID.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Alt4RemoteWriter For testing purposes, implement your own RemoteHelper and equate it to this variable.
SyncWriter can be used to override a normal/default go logger to write it's output to alt4 This method writes logs synchronously.
Writer can be used to override a normal/default go logger to write it's output to alt4 This method writes logs asynchronously.
# Structs
No description provided by the author
LogResult Object returned when you create a log entry.
# Interfaces
RemoteWriter an interface for functions called when writing to alt4.