Skip to content

Commit

Permalink
Export types
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Mar 18, 2024
1 parent 59a23b5 commit 756d506
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cross/log",
"version": "0.9.0",
"version": "0.9.1",
"exports": {
".": "./mod.ts"
},
Expand Down
6 changes: 3 additions & 3 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { appendFile } from "node:fs/promises";
import { Colors } from "@cross/utils";
import { deepMerge } from "@cross/deepmerge";

type LoggerFileFormat = "txt" | "json";
export type LoggerFileFormat = "txt" | "json";

interface LoggerOptions {
export interface LoggerOptions {
file?: {
enabled: boolean;
stdoutPath?: string;
Expand All @@ -17,7 +17,7 @@ interface LoggerOptions {
logLevel?: LogLevel;
}

enum LogLevel {
export enum LogLevel {
Debug = "DEBUG",
Info = "INFO",
Log = "LOG",
Expand Down

0 comments on commit 756d506

Please sign in to comment.