Baguette::Configuration::IPC

This commit is contained in:
Karchnu 2020-11-08 20:44:32 +01:00
parent 2ced54cccc
commit 75924a3412

View File

@ -41,6 +41,25 @@ class Baguette::Configuration
end
end
class IPC < Base
property ipc_timer : Int32 = 30_000 # 30 seconds.
property print_ipc_timer : Bool = false
property print_ipc_connection : Bool = false
property print_ipc_disconnection : Bool = false
property print_ipc_extra_socket : Bool = false
property print_ipc_message_received : Bool = false
property print_ipc_message_sent : Bool = false
property print_ipc_switch : Bool = false
property print_ipc_error : Bool = true
property print_ipc_exception : Bool = true
property verbosity : Int32 = 2
def initialize
end
end
# Read options from the CLI.
# We currently want to know:
# - the program verbosity