Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Sep 27, 2024
1 parent 63bbe73 commit 6e0457b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export class LogRecord {
* ```ts
* import { LogRecord } from "@std/log/logger";
* import { LogLevels } from "@std/log/levels";
* import { assertEquals } from "@std/assert/equals";
* import { assertAlmostEquals } from "@std/assert/almost-equals";
*
* const record = new LogRecord({
* msg: "Hello, world!",
Expand All @@ -210,7 +210,7 @@ export class LogRecord {
* loggerName: "example",
* });
*
* assertEquals(record.datetime, new Date());
* assertAlmostEquals(record.datetime.getTime(), Date.now(), 1e5);
* ```
*
* @returns The date and time the log record was created.
Expand Down

0 comments on commit 6e0457b

Please sign in to comment.