It would be great to de-couple the code from the logging logic and format.:
A logger type could be stored as a field in Node.
Acceptance Criteria:
This would allow for uniform logging format, clear logging levels (Error, Warning, Info, Verbose(?)) in a standard format:
[Error][Node <NodeId>]: logged message
Should remove dependency from go log and fmt module.
Should allow for flags to be passed when creating a new instance such that users can choose the minimum logging level they will be notified of.
It would be great to de-couple the code from the logging logic and format.:
A logger type could be stored as a field in Node.
Acceptance Criteria:
This would allow for uniform logging format, clear logging levels (Error, Warning, Info, Verbose(?)) in a standard format:
[Error][Node <NodeId>]: logged message
Should remove dependency from go log and fmt module.
Should allow for flags to be passed when creating a new instance such that users can choose the minimum logging level they will be notified of.