Factory function to create a new Logger instance with the specified prefix.
This is the recommended way to create logger instances. The prefix helps
identify log messages from different parts of your application and is used
for spinner management.
Parameters
prefix: string
Unique identifier for this logger instance (e.g., 'api', 'deploy', 'build')
Factory function to create a new Logger instance with the specified prefix.
This is the recommended way to create logger instances. The prefix helps identify log messages from different parts of your application and is used for spinner management.