mirror of
https://github.com/SrIzan10/sern-website.git
synced 2026-05-01 11:05:20 +00:00
102 lines
1.6 KiB
Markdown
102 lines
1.6 KiB
Markdown
---
|
|
id: "Logging"
|
|
title: "Interface: Logging<T>"
|
|
sidebar_label: "Logging"
|
|
sidebar_position: 0
|
|
custom_edit_url: null
|
|
---
|
|
|
|
**`Since`**
|
|
|
|
2.0.0
|
|
|
|
## Type parameters
|
|
|
|
| Name | Type |
|
|
| :------ | :------ |
|
|
| `T` | `unknown` |
|
|
|
|
## Implemented by
|
|
|
|
- [`DefaultLogging`](../classes/DefaultLogging.md)
|
|
|
|
## Methods
|
|
|
|
### debug
|
|
|
|
▸ **debug**(`payload`): `void`
|
|
|
|
#### Parameters
|
|
|
|
| Name | Type |
|
|
| :------ | :------ |
|
|
| `payload` | [`LogPayload`](../modules.md#logpayload)<`T`\> |
|
|
|
|
#### Returns
|
|
|
|
`void`
|
|
|
|
#### Defined in
|
|
|
|
[src/core/contracts/logging.ts:8](https://github.com/sern-handler/handler/blob/941e1ea/src/core/contracts/logging.ts#L8)
|
|
|
|
___
|
|
|
|
### error
|
|
|
|
▸ **error**(`payload`): `void`
|
|
|
|
#### Parameters
|
|
|
|
| Name | Type |
|
|
| :------ | :------ |
|
|
| `payload` | [`LogPayload`](../modules.md#logpayload)<`T`\> |
|
|
|
|
#### Returns
|
|
|
|
`void`
|
|
|
|
#### Defined in
|
|
|
|
[src/core/contracts/logging.ts:5](https://github.com/sern-handler/handler/blob/941e1ea/src/core/contracts/logging.ts#L5)
|
|
|
|
___
|
|
|
|
### info
|
|
|
|
▸ **info**(`payload`): `void`
|
|
|
|
#### Parameters
|
|
|
|
| Name | Type |
|
|
| :------ | :------ |
|
|
| `payload` | [`LogPayload`](../modules.md#logpayload)<`T`\> |
|
|
|
|
#### Returns
|
|
|
|
`void`
|
|
|
|
#### Defined in
|
|
|
|
[src/core/contracts/logging.ts:7](https://github.com/sern-handler/handler/blob/941e1ea/src/core/contracts/logging.ts#L7)
|
|
|
|
___
|
|
|
|
### warning
|
|
|
|
▸ **warning**(`payload`): `void`
|
|
|
|
#### Parameters
|
|
|
|
| Name | Type |
|
|
| :------ | :------ |
|
|
| `payload` | [`LogPayload`](../modules.md#logpayload)<`T`\> |
|
|
|
|
#### Returns
|
|
|
|
`void`
|
|
|
|
#### Defined in
|
|
|
|
[src/core/contracts/logging.ts:6](https://github.com/sern-handler/handler/blob/941e1ea/src/core/contracts/logging.ts#L6)
|