File handler
This page is auto-generated for HandlerType.File.
Spec
- Handler type:
File(file) - Handler class:
FileHandler - Handler class FQDN:
logging.FileHandler - Factory:
_build_file_handler - Factory FQDN:
daqpytools.logging.handlers._build_file_handler - Fallback types:
file - Summary: Build a file handler.
Factory API
daqpytools.logging.handlers._build_file_handler(path=None, **_)
Build a file handler.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str | None
|
Path to the output log file. This is typically forwarded from
|
None
|
**_
|
object
|
Additional forwarded keyword arguments. Ignored by this factory. |
{}
|
Returns:
| Type | Description |
|---|---|
Handler
|
A configured |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |