opsgenie / opsgenie-lamp

OpsGenie Lamp with Go SDK
Apache License 2.0
34 stars 18 forks source link

Adding Logging Facility to Lamp #37

Closed prakhar-mudaiya closed 3 years ago

prakhar-mudaiya commented 3 years ago

Adding Logging Facility to Lamp :-

  1. To add logging put logPath in config
  2. Logging to file will be done for every verbose and print message
  3. Logging to file has 3 level INFO, WARN and ERROR
  4. If no logPath is specified logging to file will not happen. Their will be a message " Logging to file is disabled, To enable Logging to file Please specify logPath in configuration"
  5. Tested changes for all alerts, escalation and incident commands