狀況

  • mainA 會用到 mod1 mod2
  • mainB 會用到 mod2

需求

  • 執行mainA時,要產生log file
  • 執行mainB時,要產生log file