modulepackage
0.0.0-20241210060753-e44320e8a284
Repository: https://github.com/tovtitov/weblog.git
Documentation: pkg.go.dev
# Functions
on application start / stop.
on application start / stop.
closes locacl log file only.
sets _isAppLive = false and breaks.
No description provided by the author
initializes appliaction log from weblog.config file, located next to app file, or with default settings.
initializes with path where weblog.config to be found.
No description provided by the author
No description provided by the author
No description provided by the author
weblogsrv url.
No description provided by the author
No description provided by the author
NormalizeNewlines normalizes \r\n (windows) and \r (mac) into \n (unix).
AT STARTUP, recovery after a panic, with exiting the application.
No description provided by the author
Loads string columns and values in Logger object To avoid key-value map creation on every log record, arrays are used.
Parses just one log record with format header.
recovery after a panic during the start of the application with exiting the application usage: weblog.Recover(recover()).
No description provided by the author
No description provided by the author
May be used in log file names, when many instances write logs into one folder.
change log directory, and create new log file in it (if it does not exist).
latency - service start time.
latency - service total life time.
No description provided by the author
# Constants
No description provided by the author
rqsr, rsqt.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
this has to be ordered by logging data size https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaxUint = ^uint(0) MinUint = 0 MaxInt = int(MaxUint >> 1) MinInt = -MaxInt - 1.
No description provided by the author
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author