We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2891f5a commit c660516Copy full SHA for c660516
src/libcore/logging.rs
@@ -6,8 +6,6 @@
6
7
use cast::transmute;
8
9
-export console_on, console_off, log_type;
10
-
11
#[nolink]
12
extern mod rustrt {
13
#[legacy_exports];
@@ -17,7 +15,7 @@ extern mod rustrt {
17
15
}
18
16
19
/// Turns on logging to stdout globally
20
-fn console_on() {
+pub fn console_on() {
21
rustrt::rust_log_console_on();
22
23
@@ -28,7 +26,7 @@ fn console_on() {
28
26
* runtime environment's logging spec, e.g. by setting
29
27
* the RUST_LOG environment variable
30
*/
31
-fn console_off() {
+pub fn console_off() {
32
rustrt::rust_log_console_off();
33
34
0 commit comments