Commit graph

35 commits

Author SHA1 Message Date
1ad2b38afe chore: update changelog 2022-06-03 11:08:02 +02:00
579ca60d03 fix: syslog and file backends always returned errors on write 2022-06-03 11:03:59 +02:00
6ce7bf634c fix: ensure all backends implement Backend 2022-06-03 11:03:59 +02:00
3bb9b9c0a1 Fix: correct the release date in changelog 2022-05-31 21:04:59 +00:00
db53d11d61 feat: add trhee log levels 2022-05-31 16:04:07 +02:00
bbfc179269 ci: add linting and coverage 2022-05-31 12:30:30 +02:00
344505ea9d lint: add golangci-lint error and fix errors 2022-05-31 12:23:48 +02:00
a6a981948d Update CHANGELOG.md 2020-06-25 10:29:07 +00:00
572fff1be4 Fix a race conditions
Two accesses to a loggers were not protected by a logger's mutex
2020-05-17 14:34:56 +02:00
79da88fda7 add a Close() method to Backend 2020-05-17 14:33:16 +02:00
c6819aa61d fixes linting errors 2020-02-01 17:30:09 +01:00
3bc019fd4e Close file descriptor in FileBackend before reopening it 2020-02-01 10:42:42 +01:00
5c9b362285 Change return value of NoopBackend.Level() to DefaultLevel 2020-02-01 10:38:50 +01:00
f8dc5855e3 New loggers now have their log level set as DefaultLevel instead of Debug 2020-02-01 10:37:00 +01:00
1d394253d9 Changes the name of log level constants 2020-02-01 10:35:33 +01:00
6978dc1288 Update .gitlab-ci.yml 2019-11-05 14:26:57 +00:00
d078d0a933 Update .gitlab-ci.yml 2019-11-05 14:25:51 +00:00
0b3f60f4cb move to go modules 2019-11-05 15:24:26 +01:00
f0f35185dc Update .gitlab-ci.yml 2019-11-05 14:19:21 +00:00
876718bec2 Add .gitlab-ci.yml 2019-11-05 14:17:34 +00:00
82b8819ee9 Add LICENSE 2019-04-14 01:11:55 +00:00
474e53ccd0 Merge remote-tracking branch 'refs/remotes/origin/master' 2016-10-28 18:38:35 +02:00
1abe033b39 removes syslog from windows builds 2016-10-28 18:34:07 +02:00
4cc1baab95 Adds a few locks 2016-04-28 14:17:23 +02:00
e6b3497b2b backends can be reopened 2014-12-04 20:25:49 +01:00
42ebeb58f4 Add a noop backend 2014-10-22 12:35:14 +02:00
c15fae57e1 Add A syslog backend that writes to the host daemon 2014-10-22 11:32:57 +02:00
de6ab584e9 better default formatting 2014-08-27 17:42:42 +02:00
1dc8d35f0c add an IoBackend factory that accepts a generic io.writer object 2014-08-27 17:42:15 +02:00
294692d146 support for named loggers and Loggers can be exported as stdlib loggers 2014-08-18 13:03:24 +02:00
Bruno Carlin
ac19778676 Add a function to retrieve a log level by name (useful for config) 2013-06-25 16:53:42 +02:00
606fd37e7d Add stderr and file log backends 2013-06-24 17:37:46 +02:00
316863735d Move the filter on the level of the record from backends to the logger (in order to have consistent behaviour) 2013-06-24 17:35:43 +02:00
01acb9686d Add Textmate cache files to gitignore 2013-06-24 17:19:53 +02:00
f89ada6800 Initial commit 2013-06-21 18:37:09 +02:00