File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ <h3><a href="#it-solves-two-problems-even-when-you-just-have-one" name="it-solve
327327signature and distracts from the intent of the code.</ p >
328328< p > The obvious fix is to make our < code > Log</ code > class a singleton. Every function can then
329329go straight to the class itself to get an instance. But when we do that, we
330- inadvertently acquire a strange little restriction. All of the sudden, we can no
330+ inadvertently acquire a strange little restriction. All of a sudden, we can no
331331longer create more than one logger.</ p >
332332< p > At first, this isn’t a problem. We’re writing only a single log file, so we only
333333need one instance anyway. Then, deep in the development cycle, we run into
You can’t perform that action at this time.
0 commit comments