Skip to content

Commit

Permalink
docs(src): add comment for function parameter options
Browse files Browse the repository at this point in the history
  • Loading branch information
PunGrumpy committed Jun 1, 2024
1 parent 18112f5 commit 75a4df5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { HttpError, Options } from './types'
import startServer from './utils/start'

/**
* Creates a logger.
* Creates a logger plugin for ElysiaJS.
*
* @export
* @module logger
Expand All @@ -19,7 +19,9 @@ import startServer from './utils/start'
* @author PunGrumpy
* @license MIT
*
* @returns {Elysia} The logger.
* @param {Options} [options] Configuration options for the logger.
*
* @returns {Elysia} The logger plugin for ElysiaJS.
*/
export default function logixlysia(options?: Options): Elysia {
const log = createLogger(options)
Expand Down

0 comments on commit 75a4df5

Please sign in to comment.