Skip to main content

File Controller

Project description

filectrl

File Controller

Get Controller

import filectrl
fctrl = filectrl.get_controller()

Parameters:
write_type (filectrl.WriteType): Text, Data (default: .Text)
data_separator (str): write_type == filectrl.WriteType.Data (default: ',')
file_name (str): log file name. (default: ''; project directory name)
file_type (str): log file extension name. (default: 'log')
logging_path (str): logging path (default: '.')
backup_path (str): Backup path for logged file. (default: './logs')\n

Write

fctrl.write("Hello, world!")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filectrl-0.0.4.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

filectrl-0.0.4-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page