Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 445 Bytes

File metadata and controls

9 lines (8 loc) · 445 Bytes

Design_Pattern

Objective: Create a Logger class using the Singleton design pattern. The logger should be able to be used to print messages.

Requirements: Create a class called 'Logger' Implement the Singleton pattern to ensure that only one instance of 'Logger' is created Add public method that takes a string message as an argument The created method should print the message it receives The 'Logger' class can be called from 'Main' method