Commit Graph

143 Commits

Author SHA1 Message Date
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +09:00
Ian Bull
c817a5a781
refactor(log): align additional error messages (#5801) 2024-08-24 23:55:45 +09:00
Tim Reichen
afb9a4f336
refactor(log): make BaseHandler abstract (#5737)
initial commit
2024-08-22 16:46:53 +10:00
Tim Reichen
2d6ae7d470
refactor(log): replace protected properties with Symbols (#5724) 2024-08-20 12:18:30 +09:00
Asher Gomez
e07c32f6a5
docs(fs): fix options argument display (#5491) 2024-07-19 13:12:45 +09:00
denobot
f54eab4355
chore: release 2024.07.12 (#5431)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-12 19:45:19 +09:00
Asher Gomez
10bcb95c9f
test(log): cleaunp TextDecoder use (#5407)
tests(log): cleaunp `TextDecoder` use
2024-07-11 17:53:06 +10:00
denobot
940568c62d
chore: release 2024.07.02 (#5254)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-02 20:43:42 +09:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert (#5199)
* refactor: import from `@std/assert`

* update
2024-06-30 08:30:10 +00:00
denobot
7d1d9cc34a
chore: release 2024.06.21 (#5107)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-21 19:15:49 +09:00
Madhav Ganesan
ab458a38fa
refactor(archive,expect,io,log,toml,yaml): remove private and public access modifiers (#5077)
* replaced public and private access modifiers #5066

* fix: run `deno fmt`

* fix: apply suggestions

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-21 14:13:08 +10:00
denobot
0ea4868542
chore: release 2024.06.06 (#4984)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-06 20:26:57 +09:00
Asher Gomez
a7c09261e6
refactor(log): cleanup use of @std/assert (#4973)
* refactor(log): cleanup use of `@std/assert`

* update graph
2024-06-05 21:43:22 +00:00
denobot
53e08775e3
chore: release 2024.05.07 (#4689)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-08 13:32:51 +09:00
Asher Gomez
1a0907eb53
feat(log): make FileHandler and RotatingFileHandler buffer size configurable (#4680) 2024-05-07 14:48:48 +10:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
901eef2ad2
test(log): cleanup test files (#4641)
* test(log): cleanup test files

* work

* work
2024-04-24 17:02:32 +09:00
Yoshiya Hinosawa
0c584412cf
fix(log): Revert "deprecate(log): deprecate internal utility methods" (#4436) (#4572) 2024-04-11 19:30:50 +09:00
Asher Gomez
46d9fa594c
chore: update browser-compatible files with declaration (#4560) 2024-04-10 12:43:44 +10:00
Tim Reichen
42df58a233
deprecate(log): deprecate internal utility methods (#4436)
initial commit
2024-04-10 11:35:11 +10:00
wangb
4e6dafea74
docs(log): remove string formatter description (#4558) 2024-04-09 13:37:28 +10:00
Gabriele Belluardo
1040fb4d50
refactor(log): prepare for noUncheckedIndexedAccess (#4482) 2024-03-14 14:40:50 +11:00
Simon Holloway
e5e737ba98
fix(log): don't discard bytes >4096 in FileHandler (#4415)
* fix(log): fix error when logging >4096 bytes when using FileHandler or RotatingfileHandler

* trigger ci

* Update log/rotating_file_handler_test.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Update log/rotating_file_handler_test.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Update log/file_handler_test.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Update log/file_handler_test.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-03-01 17:16:52 +12:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax (#4406)
* Start

* Update

* Format

* Revert deno.json change

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
Tim Reichen
f7076beaaa
chore(log): format test names (#4394)
* initial commit

* remove brackets for classes
2024-02-28 08:06:29 +12:00
Asher Gomez
4bcdea86d1
fix(log): add missing return types (#4401) 2024-02-28 05:44:33 +11:00
Tim Reichen
0f62d4c1e4
chore(log): sync level and levelName in BaseHandler (#4393) 2024-02-26 22:22:21 +09:00
Asher Gomez
d50e074a55
BREAKING(log): remove WARNING log level (#4258)
* BREAKING(log): remove deprecated APIs

* update
2024-02-02 16:57:14 +11:00
cin
fdee06d35a
refactor(log): refactor log codebase to adhere to singe-export files (#4254)
* refactor: log codebase

* refactor: log codebase

* fix: lint

* fix: cr

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-02 11:35:43 +11:00
cin
aad9999265
refactor(log): remove log private methods/properties underscore (#4243) 2024-01-28 01:28:51 +09:00
Tim Reichen
d23718945e
feat(tools,log,http,semver): check mod exports, export items consistently from mod.ts (#4229) 2024-01-25 18:36:46 +09:00
Asher Gomez
17385c51fc
BREAKING(log): remove string formatter (#4239)
* BREAKING(log): remove `handlers.ts`

* fix

* BREAKING(log): remove string formatter
2024-01-25 17:03:19 +09:00
Asher Gomez
d1614ba4b5
BREAKING(log): single-export handler files (#4236) 2024-01-25 16:22:35 +09:00
Asher Gomez
53d27bb434
fix(log): make flattenArgs() private (#4214) 2024-01-17 16:18:02 +09:00
Asher Gomez
e3cb0cc3bf
refactor(log): tidy imports and exports (#4215) 2024-01-17 13:55:06 +11:00
Asher Gomez
197fad67d3
feat(log): make handlers disposable (#4195) 2024-01-15 13:06:25 +09:00
Tim Reichen
f62d881ea0
refactor(log): replace deprecated imports (#4188)
* initial commit

* update

* refactor: update more imports

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-15 08:14:48 +11:00
Asher Gomez
3144d893da
deprecation(log): move handlers to single-export files (#4176) 2024-01-12 19:17:25 +11:00
Asher Gomez
fc816ef2e4
deprecation(log): deprecate LogLevels.WARNING (#4170)
* deprecation(log): deprecate `LogLevels.WARNING`

* change
2024-01-12 16:07:06 +11:00
Tim Reichen
f5b6774dcd
deprecation(log): rename warning() to warn() (#4117)
* initial commit

* Update log/logger.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* replace WARNING with WARN

* update

* refactor(cli): make `Spinner` constructor options more readable (#4091)

* initial commit

* update

* docs(testing): fix assertion deprecation notices (#4122)

* refactor(assert): remove `void` return types (#4124)

* fix(http): punt removal version of `unstable_cookie_map.ts` (#4125)

* chore: ignore `/docs` in license checker tool (#4123)

* deprecation(semver): rename `rangeFormat()` to `formatRange()` (#4090)

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* refactor(archive): prepare for `noUncheckedIndexedAccess` (#4110)

* refactor(archive): prepare for noUncheckedIndexedAccess

* adjust test to handle new TarHeader requirements

* revert WARNING

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Simon Holloway <simon@syhol.io>
2024-01-11 12:36:15 +11:00
Asher Gomez
c79d68b905
BREAKING(log): remove deprecated APIs (#4104) 2024-01-09 10:43:19 +09:00
Tim Reichen
cd0f7def26
refactor(log): remove obsolete Log.handler property getter and setter (#4100)
initial commit
2024-01-05 09:57:26 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Simon Holloway
756ddf376b
refactor(log): prepare for noUncheckedIndexedAccess (#4042) 2023-12-31 06:31:23 +11:00
Tim Reichen
c3da97124c
deprecation(log): string type for BaseHandler.formatter (#4023)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-30 18:59:36 +09:00
Simon Holloway
835480dc8a
chore(log): rework std/log to work without deprecated Deno.Writer (#4021)
* chore(log): rework std/log to no longer depend on the deprecated Writer

* handle unwritten buffer data and tidy bits

* Update log/handlers.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* make resetBuffer private

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-28 13:59:00 +11:00
David Sherret
ceb107f4ef
chore: add more explicit types (#4018)
* Add explicit types

* Format.

* Revert
2023-12-22 15:35:15 +11:00
David Sherret
b0803619af
refactor: add some missing explicit types (#3997)
* refactor: add some missing return types and mark some non-exported types as `@internal`

* Update expect/fn.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Remove @internals

* nits

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 00:26:13 +00:00
Simon Holloway
1f2a07a4de
feat(log): add support for structured JSON logging (#3960) 2023-12-18 20:19:47 +09:00
Asher Gomez
451efa6243
deprecation: move types.d.ts to std/io (#3885)
* deprecation: move `types.d.ts` to `std/io`

* fix
2023-12-01 11:46:43 +09:00