Skip to content

Commit

Permalink
feat: rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszherba committed Oct 9, 2024
1 parent 95f986e commit 27ad9a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-rings-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vue-storefront/logger": major
---

rc.3
1 change: 0 additions & 1 deletion packages/logger/src/ConsolaStructuredLogger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ const createConsolaStructuredLogger = (
const debug = logAtLevel("debug");

return {
log,
emergency,
alert,
critical,
Expand Down
3 changes: 0 additions & 3 deletions packages/logger/src/interfaces/LoggerInterface.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { LogLevel } from "./LogLevel";

/**
* Metadata is a record with string keys and arbitrary values.
*/
Expand All @@ -14,7 +12,6 @@ export type LogData = string | Error | unknown;
* Common interface for a logger.
*/
export interface LoggerInterface {
log(level: LogLevel, logData: LogData, metadata?: Metadata): void;
emergency(logData: LogData, metadata?: Metadata): void;
alert(logData: LogData, metadata?: Metadata): void;
critical(logData: LogData, metadata?: Metadata): void;
Expand Down

0 comments on commit 27ad9a7

Please sign in to comment.