File tree 1 file changed +0
-21
lines changed 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 33
33
import os
34
34
import sys
35
35
import typing
36
- import warnings
37
36
38
37
import cocotb .ANSI as ANSI
39
38
from cocotb import simulator
@@ -117,26 +116,6 @@ def default_config():
117
116
class SimBaseLog (logging .getLoggerClass ()):
118
117
"""This class only exists for backwards compatibility"""
119
118
120
- @property
121
- def logger (self ):
122
- warnings .warn (
123
- "the .logger attribute should not be used now that `SimLog` "
124
- "returns a native logger instance directly." ,
125
- DeprecationWarning ,
126
- stacklevel = 2 ,
127
- )
128
- return self
129
-
130
- @property
131
- def colour (self ):
132
- warnings .warn (
133
- "the .colour attribute may be removed in future, use the "
134
- "equivalent `cocotb.utils.want_color_output()` instead" ,
135
- DeprecationWarning ,
136
- stacklevel = 2 ,
137
- )
138
- return want_color_output ()
139
-
140
119
def setLevel (self , level : typing .Union [int , str ]) -> None :
141
120
super ().setLevel (level )
142
121
if self .name == "gpi" :
You can’t perform that action at this time.
0 commit comments